diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index e7fdb5a692..ccbecc4482 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -1012,7 +1012,7 @@ class CookerParser(object): | |||
1012 | else: | 1012 | else: |
1013 | self.fromcache.append((filename, appends)) | 1013 | self.fromcache.append((filename, appends)) |
1014 | self.toparse = self.total - len(self.fromcache) | 1014 | self.toparse = self.total - len(self.fromcache) |
1015 | self.progress_chunk = self.toparse / 100 | 1015 | self.progress_chunk = max(self.toparse, self.toparse / 100) |
1016 | 1016 | ||
1017 | def worker(input, output, cfgdata): | 1017 | def worker(input, output, cfgdata): |
1018 | signal.signal(signal.SIGINT, signal.SIG_IGN) | 1018 | signal.signal(signal.SIGINT, signal.SIG_IGN) |