diff options
author | Chris Larson <clarson@kergoth.com> | 2010-04-20 18:47:36 -0700 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-02 15:41:34 +0100 |
commit | 4802a9d07a1b41f2d459c4237f77f8b92d873971 (patch) | |
tree | 2b1faa36509d4767952b8a113711ea0cbfc2be4d /bitbake/lib/bb/cooker.py | |
parent | 8bc7ebb4aece51cc4e4649449afa482a51580147 (diff) | |
download | ast2050-yocto-poky-4802a9d07a1b41f2d459c4237f77f8b92d873971.zip ast2050-yocto-poky-4802a9d07a1b41f2d459c4237f77f8b92d873971.tar.gz |
Move a var definition in cooker.parse_next
(Bitbake rev: 1b378ddf3dc9b2aa5384e8b28945b63fc623a6a4)
Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 96fdb66..9d21b33 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py @@ -970,9 +970,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) |