diff options
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hobeventhandler.py')
| -rw-r--r-- | bitbake/lib/bb/ui/crumbs/hobeventhandler.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py index 9c5dc771f6..f189553267 100644 --- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py +++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py | |||
| @@ -30,9 +30,6 @@ class HobHandler(gobject.GObject): | |||
| 30 | This object does BitBake event handling for the hob gui. | 30 | This object does BitBake event handling for the hob gui. |
| 31 | """ | 31 | """ |
| 32 | __gsignals__ = { | 32 | __gsignals__ = { |
| 33 | "layers-updated" : (gobject.SIGNAL_RUN_LAST, | ||
| 34 | gobject.TYPE_NONE, | ||
| 35 | (gobject.TYPE_PYOBJECT,)), | ||
| 36 | "package-formats-updated" : (gobject.SIGNAL_RUN_LAST, | 33 | "package-formats-updated" : (gobject.SIGNAL_RUN_LAST, |
| 37 | gobject.TYPE_NONE, | 34 | gobject.TYPE_NONE, |
| 38 | (gobject.TYPE_PYOBJECT,)), | 35 | (gobject.TYPE_PYOBJECT,)), |
| @@ -152,7 +149,7 @@ class HobHandler(gobject.GObject): | |||
| 152 | self.package_model.populate(event._pkginfolist) | 149 | self.package_model.populate(event._pkginfolist) |
| 153 | self.run_next_command() | 150 | self.run_next_command() |
| 154 | 151 | ||
| 155 | elif(isinstance(event, logging.LogRecord)): | 152 | elif isinstance(event, logging.LogRecord): |
| 156 | if event.levelno >= logging.ERROR: | 153 | if event.levelno >= logging.ERROR: |
| 157 | self.error_msg += event.msg + '\n' | 154 | self.error_msg += event.msg + '\n' |
| 158 | 155 | ||
| @@ -160,10 +157,6 @@ class HobHandler(gobject.GObject): | |||
| 160 | self.current_phase = "data generation" | 157 | self.current_phase = "data generation" |
| 161 | if event._model: | 158 | if event._model: |
| 162 | self.recipe_model.populate(event._model) | 159 | self.recipe_model.populate(event._model) |
| 163 | elif isinstance(event, bb.event.CoreBaseFilesFound): | ||
| 164 | self.current_phase = "configuration lookup" | ||
| 165 | paths = event._paths | ||
| 166 | self.emit('layers-updated', paths) | ||
| 167 | elif isinstance(event, bb.event.ConfigFilesFound): | 160 | elif isinstance(event, bb.event.ConfigFilesFound): |
| 168 | self.current_phase = "configuration lookup" | 161 | self.current_phase = "configuration lookup" |
| 169 | var = event._variable | 162 | var = event._variable |
