summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cache.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/cache.py')
-rw-r--r--bitbake/lib/bb/cache.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py
index df78d5b701..be5ea6a8bd 100644
--- a/bitbake/lib/bb/cache.py
+++ b/bitbake/lib/bb/cache.py
@@ -464,14 +464,14 @@ class Cache(NoCache):
464 bitbake_ver = pickled.load() 464 bitbake_ver = pickled.load()
465 except Exception: 465 except Exception:
466 self.logger.info('Invalid cache, rebuilding...') 466 self.logger.info('Invalid cache, rebuilding...')
467 return 467 return 0
468 468
469 if cache_ver != __cache_version__: 469 if cache_ver != __cache_version__:
470 self.logger.info('Cache version mismatch, rebuilding...') 470 self.logger.info('Cache version mismatch, rebuilding...')
471 return 471 return 0
472 elif bitbake_ver != bb.__version__: 472 elif bitbake_ver != bb.__version__:
473 self.logger.info('Bitbake version mismatch, rebuilding...') 473 self.logger.info('Bitbake version mismatch, rebuilding...')
474 return 474 return 0
475 475
476 # Load the rest of the cache file 476 # Load the rest of the cache file
477 current_progress = 0 477 current_progress = 0