return empty list instead of None in case of error
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@4133 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
1ba27977ea
commit
39e0c7edfc
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ class OfficeFile(ExternalFileAdapter):
|
|||
except IOError, e:
|
||||
from logging import getLogger
|
||||
self.logger.warn(e)
|
||||
return
|
||||
return []
|
||||
if self.propFileName not in zf.namelist():
|
||||
self.logger.warn('Custom properties not found in file %s.' %
|
||||
self.externalAddress)
|
||||
|
|
Loading…
Add table
Reference in a new issue