summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hobeventhandler.py')
-rw-r--r--bitbake/lib/bb/ui/crumbs/hobeventhandler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
index 790e2ef819..1e1151e7ae 100644
--- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
+++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
@@ -119,7 +119,7 @@ class HobHandler(gobject.GObject):
119 self.generating = False 119 self.generating = False
120 120
121 def run_next_command(self, initcmd=None): 121 def run_next_command(self, initcmd=None):
122 if initcmd != None: 122 if initcmd:
123 self.initcmd = initcmd 123 self.initcmd = initcmd
124 124
125 if self.commands_async: 125 if self.commands_async:
@@ -127,7 +127,7 @@ class HobHandler(gobject.GObject):
127 next_command = self.commands_async.pop(0) 127 next_command = self.commands_async.pop(0)
128 else: 128 else:
129 self.clear_busy() 129 self.clear_busy()
130 if self.initcmd != None: 130 if self.initcmd:
131 self.emit("command-succeeded", self.initcmd) 131 self.emit("command-succeeded", self.initcmd)
132 return 132 return
133 133