From: Chris Larson Date: Wed, 21 Apr 2010 01:47:36 +0000 (-0700) Subject: Move a var definition in cooker.parse_next X-Git-Tag: 2011-1~5506 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=4802a9d07a1b41f2d459c4237f77f8b92d873971;p=openembedded-core.git Move a var definition in cooker.parse_next (Bitbake rev: 1b378ddf3dc9b2aa5384e8b28945b63fc623a6a4) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 96fdb66270..9d21b33143 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)