diff options
Diffstat (limited to 'bitbake/lib/bb/command.py')
| -rw-r--r-- | bitbake/lib/bb/command.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py index 1808f0c7e5..83907f6cc3 100644 --- a/bitbake/lib/bb/command.py +++ b/bitbake/lib/bb/command.py | |||
| @@ -31,10 +31,6 @@ Commands are queued in a CommandQueue | |||
| 31 | import bb.event | 31 | import bb.event |
| 32 | import bb.cooker | 32 | import bb.cooker |
| 33 | 33 | ||
| 34 | async_cmds = {} | ||
| 35 | sync_cmds = {} | ||
| 36 | |||
| 37 | |||
| 38 | class CommandCompleted(bb.event.Event): | 34 | class CommandCompleted(bb.event.Event): |
| 39 | pass | 35 | pass |
| 40 | 36 | ||
| @@ -60,16 +56,6 @@ class Command: | |||
| 60 | # FIXME Add lock for this | 56 | # FIXME Add lock for this |
| 61 | self.currentAsyncCommand = None | 57 | self.currentAsyncCommand = None |
| 62 | 58 | ||
| 63 | for attr in CommandsSync.__dict__: | ||
| 64 | command = attr[:].lower() | ||
| 65 | method = getattr(CommandsSync, attr) | ||
| 66 | sync_cmds[command] = (method) | ||
| 67 | |||
| 68 | for attr in CommandsAsync.__dict__: | ||
| 69 | command = attr[:].lower() | ||
| 70 | method = getattr(CommandsAsync, attr) | ||
| 71 | async_cmds[command] = (method) | ||
| 72 | |||
| 73 | def runCommand(self, commandline): | 59 | def runCommand(self, commandline): |
| 74 | try: | 60 | try: |
| 75 | command = commandline.pop(0) | 61 | command = commandline.pop(0) |
