diff options
| author | Richard Purdie <rpurdie@linux.intel.com> | 2008-12-06 13:16:13 +0000 | 
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2008-12-06 13:16:13 +0000 | 
| commit | ffdec425bfb26e152d1da5824a36dfe1fe72cd92 (patch) | |
| tree | 38a5233e01e62d57964dbb0bf38ca88a92049386 /bitbake/lib/bb/cache.py | |
| parent | 4be017e82fdfbfbe1bf484bf745e770d18417918 (diff) | |
| download | openembedded-core-ffdec425bfb26e152d1da5824a36dfe1fe72cd92.tar.gz openembedded-core-ffdec425bfb26e152d1da5824a36dfe1fe72cd92.tar.bz2 openembedded-core-ffdec425bfb26e152d1da5824a36dfe1fe72cd92.zip | |
bitbake/bitbake-dev: Sync with upstream
Diffstat (limited to 'bitbake/lib/bb/cache.py')
| -rw-r--r-- | bitbake/lib/bb/cache.py | 6 | 
1 files changed, 5 insertions, 1 deletions
| diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py index 1c87bfa12d..a4a4f47cef 100644 --- a/bitbake/lib/bb/cache.py +++ b/bitbake/lib/bb/cache.py @@ -95,7 +95,11 @@ class Cache:                  bb.msg.note(1, bb.msg.domain.Cache, "Invalid cache found, rebuilding...")                  self.depends_cache = {}          else: -            bb.msg.note(1, bb.msg.domain.Cache, "Out of date cache found, rebuilding...") +            try: +                os.stat( self.cachefile ) +                bb.msg.note(1, bb.msg.domain.Cache, "Out of date cache found, rebuilding...") +            except OSError: +                pass      def getVar(self, var, fn, exp = 0):          """ | 
