diff options
Diffstat (limited to 'lib/bb/data_smart.py')
-rw-r--r-- | lib/bb/data_smart.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/data_smart.py b/lib/bb/data_smart.py index 069fa0363..5bbc09edd 100644 --- a/lib/bb/data_smart.py +++ b/lib/bb/data_smart.py @@ -323,7 +323,7 @@ class DataSmartPackage(DataSmart): def mtime(cache,bbfile): cache_bbfile = DataSmartPackage.sanitize_filename(bbfile) try: - return os.stat( "%s/%s" % (cache,cache_bbfile) ) + return os.stat( "%s/%s" % (cache,cache_bbfile) )[8] except OSError: return 0 mtime = staticmethod(mtime) |