diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-11-19 15:51:45 -0700 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2010-11-19 15:51:45 -0700 |
commit | 1074f9a5c529e364404daf545b8465415d63a556 (patch) | |
tree | f835bbe508926d3eecdb1ba8b8210f995579a0d4 | |
parent | c992193528b34e7157487fa36e88e9d354705d36 (diff) | |
download | bitbake-1074f9a5c529e364404daf545b8465415d63a556.tar.gz |
cooker: fix UnboundLocalError
Signed-off-by: Chris Larson <chris_larson@mentor.com>
-rw-r--r-- | lib/bb/cooker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py index 3b27a6404..7cde055af 100644 --- a/lib/bb/cooker.py +++ b/lib/bb/cooker.py @@ -981,9 +981,9 @@ class CookerParser: self.pointer = 0 def parse_next(self): + cooker = self.cooker if self.pointer < len(self.filelist): f = self.filelist[self.pointer] - cooker = self.cooker try: fromCache, skipped, virtuals = cooker.bb_cache.loadData(f, cooker.configuration.data, cooker.status) |