diff options
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hobeventhandler.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py index e8d7dc2ce2..2ce5b66e72 100644 --- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py +++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py | |||
@@ -101,7 +101,12 @@ class HobHandler(gobject.GObject): | |||
101 | 101 | ||
102 | def runCommand(self, commandline): | 102 | def runCommand(self, commandline): |
103 | try: | 103 | try: |
104 | return self.server.runCommand(commandline) | 104 | result = self.server.runCommand(commandline) |
105 | result_str = str(result) | ||
106 | if (result_str.startswith("Busy (") or | ||
107 | result_str == "No such command"): | ||
108 | raise Exception(result_str) | ||
109 | return result | ||
105 | except Exception as e: | 110 | except Exception as e: |
106 | self.commands_async = [] | 111 | self.commands_async = [] |
107 | self.clear_busy() | 112 | self.clear_busy() |