From 4dae0bde445fbce3870a1bcf290647bb69ae0f47 Mon Sep 17 00:00:00 2001 From: red-agent Date: Tue, 15 Sep 2009 23:40:29 +0300 Subject: [PATCH] Removed unused code --- src/commands/framework.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/commands/framework.py b/src/commands/framework.py index 15daa250f..bb15fd2ca 100644 --- a/src/commands/framework.py +++ b/src/commands/framework.py @@ -222,11 +222,6 @@ class Dispatcher(type): if hoster not in bases: raise CommandInternalError("Should be hosted by the same processors it inherits from") - @classmethod - def check_if_conformed(cls, dispatchable, hostable): - if dispatchable and hostable: - raise CommandInternalError("Processor can not be dispatchable and hostable at the same time") - @classmethod def register_processor(cls, proc): cls.table[proc] = {}