diff options
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hobeventhandler.py')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hobeventhandler.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py index 84f304352e..c474491d6a 100644 --- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py +++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py | |||
@@ -102,6 +102,8 @@ class HobHandler(gobject.GObject): | |||
102 | elif isinstance(event, bb.event.CacheLoadCompleted) and pbar: | 102 | elif isinstance(event, bb.event.CacheLoadCompleted) and pbar: |
103 | pbar.update(bb.ui.crumbs.hobeventhandler.progress_total, bb.ui.crumbs.hobeventhandler.progress_total) | 103 | pbar.update(bb.ui.crumbs.hobeventhandler.progress_total, bb.ui.crumbs.hobeventhandler.progress_total) |
104 | elif isinstance(event, bb.event.ParseStarted) and pbar: | 104 | elif isinstance(event, bb.event.ParseStarted) and pbar: |
105 | if event.total == 0: | ||
106 | return | ||
105 | pbar.set_title("Processing recipes") | 107 | pbar.set_title("Processing recipes") |
106 | bb.ui.crumbs.hobeventhandler.progress_total = event.total | 108 | bb.ui.crumbs.hobeventhandler.progress_total = event.total |
107 | pbar.update(0, bb.ui.crumbs.hobeventhandler.progress_total) | 109 | pbar.update(0, bb.ui.crumbs.hobeventhandler.progress_total) |