This commit is contained in:
Marco Pesenti Gritti 2007-11-03 23:32:31 +01:00
parent e748f756c0
commit 2907b10dbb
2 changed files with 6 additions and 1 deletions

2
NEWS
View File

@ -1,3 +1,5 @@
Snapshot e748f756c0
* #4618: Make the shell service more resilient to failure. (tomeu)
Snapshot 39aca0154d

View File

@ -85,7 +85,10 @@ class Bundle:
if self._unpacked:
path = os.path.join(self._path, filename)
if os.path.isfile(path):
try:
file = open(path)
except IOError:
logging.info('Cannot read %s' % path)
else:
zip_file = zipfile.ZipFile(self._path)
path = os.path.join(self._zip_root_dir, filename)