bitbake-dev: Fix cooker parser for cases there are no recipes

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie 2009-07-23 19:31:23 +01:00
parent 4ef85553f4
commit 60ba2a6a08
1 changed files with 31 additions and 30 deletions

View File

@ -906,7 +906,6 @@ class CookerExit(bb.event.Event):
def __init__(self, d):
bb.event.Event.__init__(self, d)
class CookerParser:
def __init__(self, cooker, filelist, masked):
# Internal data
@ -926,6 +925,8 @@ class CookerParser:
def parse_next(self):
print "Pointer %d" % self.pointer
if self.pointer < len(self.filelist):
f = self.filelist[self.pointer]
cooker = self.cooker