mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
bitbake: cache.py: fix whitespace
(Bitbake rev: e22b1f1c0e57c6ada4fb044791159546e2260dad) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f93c9157e5
commit
819c98d9ea
@@ -438,8 +438,8 @@ class Cache(NoCache):
|
|||||||
logger.info('Cache version mismatch, rebuilding...')
|
logger.info('Cache version mismatch, rebuilding...')
|
||||||
return
|
return
|
||||||
elif bitbake_ver != bb.__version__:
|
elif bitbake_ver != bb.__version__:
|
||||||
logger.info('Bitbake version mismatch, rebuilding...')
|
logger.info('Bitbake version mismatch, rebuilding...')
|
||||||
return
|
return
|
||||||
|
|
||||||
# Load the rest of the cache file
|
# Load the rest of the cache file
|
||||||
current_progress = 0
|
current_progress = 0
|
||||||
@@ -616,13 +616,13 @@ class Cache(NoCache):
|
|||||||
a = fl.find(":True")
|
a = fl.find(":True")
|
||||||
b = fl.find(":False")
|
b = fl.find(":False")
|
||||||
if ((a < 0) and b) or ((b > 0) and (b < a)):
|
if ((a < 0) and b) or ((b > 0) and (b < a)):
|
||||||
f = fl[:b+6]
|
f = fl[:b+6]
|
||||||
fl = fl[b+7:]
|
fl = fl[b+7:]
|
||||||
elif ((b < 0) and a) or ((a > 0) and (a < b)):
|
elif ((b < 0) and a) or ((a > 0) and (a < b)):
|
||||||
f = fl[:a+5]
|
f = fl[:a+5]
|
||||||
fl = fl[a+6:]
|
fl = fl[a+6:]
|
||||||
else:
|
else:
|
||||||
break
|
break
|
||||||
fl = fl.strip()
|
fl = fl.strip()
|
||||||
if "*" in f:
|
if "*" in f:
|
||||||
continue
|
continue
|
||||||
@@ -886,4 +886,3 @@ class MultiProcessCache(object):
|
|||||||
p.dump([data, self.__class__.CACHE_VERSION])
|
p.dump([data, self.__class__.CACHE_VERSION])
|
||||||
|
|
||||||
bb.utils.unlockfile(glf)
|
bb.utils.unlockfile(glf)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user