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:
parent
4ef85553f4
commit
60ba2a6a08
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue