summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/bb/command.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/bb/command.py b/lib/bb/command.py
index 1808f0c7e..83907f6cc 100644
--- a/lib/bb/command.py
+++ b/lib/bb/command.py
@@ -31,10 +31,6 @@ Commands are queued in a CommandQueue
import bb.event
import bb.cooker
-async_cmds = {}
-sync_cmds = {}
-
-
class CommandCompleted(bb.event.Event):
pass
@@ -60,16 +56,6 @@ class Command:
# FIXME Add lock for this
self.currentAsyncCommand = None
- for attr in CommandsSync.__dict__:
- command = attr[:].lower()
- method = getattr(CommandsSync, attr)
- sync_cmds[command] = (method)
-
- for attr in CommandsAsync.__dict__:
- command = attr[:].lower()
- method = getattr(CommandsAsync, attr)
- async_cmds[command] = (method)
-
def runCommand(self, commandline):
try:
command = commandline.pop(0)