0001-misc-ignore-error-when-opening-cached-metadata-38575.patch
mellon/adapters.py | ||
---|---|---|
146 | 146 |
idp['METADATA'] = fd.read() |
147 | 147 |
# use file cache mtime as last_update time, prevent too many loading from different workers |
148 | 148 |
last_update = max(last_update, os.stat(file_cache_path).st_mtime) |
149 |
except OSError:
|
|
149 |
except (IOError, OSError):
|
|
150 | 150 |
warning('metadata url %s : error when loading the file cache %s', url, file_cache_path) |
151 | 151 | |
152 | 152 |
# fresh cache, skip loading |
153 |
- |