make access to external file data more fault tolerant
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3986 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
80e834a1ac
commit
83490b51eb
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ class MediaAsset(MediaAssetFile, ExternalFileAdapter):
|
|||
if dp is not None:
|
||||
try:
|
||||
return datetime.fromtimestamp(os.path.getmtime(dp))
|
||||
except OSError, e:
|
||||
except Exception, e:
|
||||
getLogger('loops.media.asset.MediaAsset').warn(e)
|
||||
return None
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue