From 4802a9d07a1b41f2d459c4237f77f8b92d873971 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Tue, 20 Apr 2010 18:47:36 -0700 Subject: Move a var definition in cooker.parse_next (Bitbake rev: 1b378ddf3dc9b2aa5384e8b28945b63fc623a6a4) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- bitbake/lib/bb/cooker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake') 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) -- cgit v1.2.3-54-g00ecf