summaryrefslogtreecommitdiffstats
path: root/bitbake/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:48:34 +0100
commit5251d9d9a5644aa463a9e40c6291562a44ca0c82 (patch)
treedd0e53d63391674d0673d704626a08a80a263abe /bitbake/lib/bb/ui/depexp.py
parentaa721aa065ffdb5eef3f0e3ed87160f72a2d7182 (diff)
downloadpoky-5251d9d9a5644aa463a9e40c6291562a44ca0c82.tar.gz
bitbake/ui: Fix Gtk+ GUI's after recent cache changes
(Bitbake rev: 2bc8f405ec552ae0f1a79790569b2d044a35d3ba) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/depexp.py')
-rw-r--r--bitbake/lib/bb/ui/depexp.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/depexp.py b/bitbake/lib/bb/ui/depexp.py
index 3dbd5e0eca..575dd1c2b7 100644
--- a/bitbake/lib/bb/ui/depexp.py
+++ b/bitbake/lib/bb/ui/depexp.py
@@ -254,6 +254,8 @@ def main(server, eventHandler):
254 254
255 if isinstance(event, bb.event.ParseStarted): 255 if isinstance(event, bb.event.ParseStarted):
256 progress_total = event.total 256 progress_total = event.total
257 if progress_total == 0:
258 continue
257 gtk.gdk.threads_enter() 259 gtk.gdk.threads_enter()
258 pbar.set_title("Processing recipes") 260 pbar.set_title("Processing recipes")
259 pbar.update(0, progress_total) 261 pbar.update(0, progress_total)