summaryrefslogtreecommitdiffstats
path: root/lib/bb/ui/depexp.py
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-05-10 17:07:56 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-16 20:47:31 +0100
commit2bc8f405ec552ae0f1a79790569b2d044a35d3ba (patch)
tree0610429e1bc2b92197801f0ab082edf9e72b650b /lib/bb/ui/depexp.py
parentabecbb4c0af83c6b4ee248b0f03b779f84b13390 (diff)
downloadbitbake-2bc8f405ec552ae0f1a79790569b2d044a35d3ba.tar.gz
bitbake/ui: Fix Gtk+ GUI's after recent cache changes
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'lib/bb/ui/depexp.py')
-rw-r--r--lib/bb/ui/depexp.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bb/ui/depexp.py b/lib/bb/ui/depexp.py
index 485e02a58..a0737ee0b 100644
--- a/lib/bb/ui/depexp.py
+++ b/lib/bb/ui/depexp.py
@@ -259,6 +259,8 @@ def main(server, eventHandler):
if isinstance(event, bb.event.ParseStarted):
progress_total = event.total
+ if progress_total == 0:
+ continue
gtk.gdk.threads_enter()
pbar.set_title("Processing recipes")
pbar.update(0, progress_total)