summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-05 16:31:22 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-05 23:45:10 +0100
commitd4132fa12885fc050313a5c9aa6903e4fa92c94f (patch)
tree009ecf49d23af47cb015149e5b26479691fdd6a9 /bitbake
parent4cc291c007103c19779f995e852b37dbad122293 (diff)
downloadpoky-d4132fa12885fc050313a5c9aa6903e4fa92c94f.tar.gz
ui/depexp: If we're parsing zero files we need to ensure the cache progress bar gets hidden
(Bitbake rev: c8f46dfcc2f660a9cd52c64515624fad8d66461a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/ui/depexp.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/bitbake/lib/bb/ui/depexp.py b/bitbake/lib/bb/ui/depexp.py
index 575dd1c2b7..dcf7e6e2f3 100644
--- a/bitbake/lib/bb/ui/depexp.py
+++ b/bitbake/lib/bb/ui/depexp.py
@@ -247,9 +247,7 @@ def main(server, eventHandler):
247 continue 247 continue
248 248
249 if isinstance(event, bb.event.CacheLoadCompleted): 249 if isinstance(event, bb.event.CacheLoadCompleted):
250 gtk.gdk.threads_enter() 250 pbar.hide()
251 pbar.update(progress_total, progress_total)
252 gtk.gdk.threads_leave()
253 continue 251 continue
254 252
255 if isinstance(event, bb.event.ParseStarted): 253 if isinstance(event, bb.event.ParseStarted):