summaryrefslogtreecommitdiffstats
path: root/lib/bb/ui/depexp.py
diff options
context:
space:
mode:
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)