Fix the <100 recipe progress fix

(Bitbake rev: 424428a764651183218f9cc93bc05496867aa5de)

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-12-03 12:39:11 -05:00 committed by Richard Purdie
parent 1e3b83f96b
commit 7ea3c96938
1 changed files with 1 additions and 1 deletions

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 = max(self.toparse, self.toparse / 100)
self.progress_chunk = max(self.toparse / 100, 1)
def worker(input, output, cfgdata):
signal.signal(signal.SIGINT, signal.SIG_IGN)