summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-08-03 12:15:42 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-04 15:06:38 +0100
commit6b9521743fa33070ac74ebc4ab1744f933e21691 (patch)
tree58ea00e3d86dac2e0d29c8399654eb28b51af270 /bitbake/lib
parent9610ab39d936e091029b3e20cc8636f2d4134221 (diff)
downloadpoky-6b9521743fa33070ac74ebc4ab1744f933e21691.tar.gz
bb/ui/crumbs/hobeventhandler: use generic loading message once cache loaded
(Bitbake rev: 110d507c69c756657393809f57443b88841ad091) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/ui/crumbs/hobeventhandler.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
index e8265f1136..2e0a99900d 100644
--- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
+++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
@@ -187,7 +187,7 @@ class HobHandler(gobject.GObject):
187 pbar.set_text("Loading cache: %s/%s" % (event.current, bb.ui.crumbs.hobeventhandler.progress_total)) 187 pbar.set_text("Loading cache: %s/%s" % (event.current, bb.ui.crumbs.hobeventhandler.progress_total))
188 elif isinstance(event, bb.event.CacheLoadCompleted): 188 elif isinstance(event, bb.event.CacheLoadCompleted):
189 self.current_phase = None 189 self.current_phase = None
190 pbar.set_text("Loading cache: %s/%s" % (bb.ui.crumbs.hobeventhandler.progress_total, bb.ui.crumbs.hobeventhandler.progress_total)) 190 pbar.set_text("Loading...")
191 elif isinstance(event, bb.event.ParseStarted): 191 elif isinstance(event, bb.event.ParseStarted):
192 self.current_phase = "recipe parsing" 192 self.current_phase = "recipe parsing"
193 if event.total == 0: 193 if event.total == 0:
@@ -200,6 +200,7 @@ class HobHandler(gobject.GObject):
200 elif isinstance(event, bb.event.ParseCompleted): 200 elif isinstance(event, bb.event.ParseCompleted):
201 self.current_phase = None 201 self.current_phase = None
202 pbar.set_fraction(1.0) 202 pbar.set_fraction(1.0)
203 pbar.set_text("Loading...")
203 elif isinstance(event, logging.LogRecord): 204 elif isinstance(event, logging.LogRecord):
204 format = bb.msg.BBLogFormatter("%(levelname)s: %(message)s") 205 format = bb.msg.BBLogFormatter("%(levelname)s: %(message)s")
205 if event.levelno >= format.CRITICAL: 206 if event.levelno >= format.CRITICAL: