From 8b26fdcb3a7e08b67241f15e571dc5d81950321d Mon Sep 17 00:00:00 2001 From: Dongxiao Xu Date: Thu, 29 Mar 2012 20:01:07 +0800 Subject: Hob: Remove un-used signal and functions (Bitbake rev: 9c632467eddc267ed54b78a40d5b1413287e3032) Signed-off-by: Dongxiao Xu Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/crumbs/hobeventhandler.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'bitbake/lib/bb/ui/crumbs/hobeventhandler.py') 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): This object does BitBake event handling for the hob gui. """ __gsignals__ = { - "layers-updated" : (gobject.SIGNAL_RUN_LAST, - gobject.TYPE_NONE, - (gobject.TYPE_PYOBJECT,)), "package-formats-updated" : (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, (gobject.TYPE_PYOBJECT,)), @@ -152,7 +149,7 @@ class HobHandler(gobject.GObject): self.package_model.populate(event._pkginfolist) self.run_next_command() - elif(isinstance(event, logging.LogRecord)): + elif isinstance(event, logging.LogRecord): if event.levelno >= logging.ERROR: self.error_msg += event.msg + '\n' @@ -160,10 +157,6 @@ class HobHandler(gobject.GObject): self.current_phase = "data generation" if event._model: self.recipe_model.populate(event._model) - elif isinstance(event, bb.event.CoreBaseFilesFound): - self.current_phase = "configuration lookup" - paths = event._paths - self.emit('layers-updated', paths) elif isinstance(event, bb.event.ConfigFilesFound): self.current_phase = "configuration lookup" var = event._variable -- cgit v1.2.3-54-g00ecf