Merge pull request #2644 from delftswa2017/fsfilestore_fixme_fix

[MRG+1] Fixed the FIXME in FSFilesStore
This commit is contained in:
Mikhail Korobov 2017-03-14 15:11:28 +05:00 committed by GitHub
commit 4e4395f16f
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ class FSFilesStore(object):
absolute_path = self._get_filesystem_path(path)
try:
last_modified = os.path.getmtime(absolute_path)
except: # FIXME: catching everything!
except os.error:
return {}
with open(absolute_path, 'rb') as f: