summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2012-03-29 20:01:07 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-29 21:25:52 +0100
commit8b26fdcb3a7e08b67241f15e571dc5d81950321d (patch)
tree196fec8827e684f95d573f9767227e8ed912f2a9 /bitbake/lib/bb/ui/crumbs/hobeventhandler.py
parent71c1de347eef07a2059fc4544dc3cae090181f44 (diff)
downloadpoky-8b26fdcb3a7e08b67241f15e571dc5d81950321d.tar.gz
Hob: Remove un-used signal and functions
(Bitbake rev: 9c632467eddc267ed54b78a40d5b1413287e3032) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hobeventhandler.py')
-rw-r--r--bitbake/lib/bb/ui/crumbs/hobeventhandler.py9
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