1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

cooker: don't choke on <100 recipes to parse

(Bitbake rev: 2be5169a01e57bcfcb1f75cbd6bac3bf0f230edd)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Chris Larson
2010-11-30 13:57:36 -07:00
committed by Richard Purdie
parent b8aedaa6b5
commit c4e07bc033
+1 -1
View File
@@ -1012,7 +1012,7 @@ class CookerParser(object):
else:
self.fromcache.append((filename, appends))
self.toparse = self.total - len(self.fromcache)
self.progress_chunk = self.toparse / 100
self.progress_chunk = max(self.toparse, self.toparse / 100)
def worker(input, output, cfgdata):
signal.signal(signal.SIGINT, signal.SIG_IGN)