Snapshot e748f756c0
.
This commit is contained in:
parent
e748f756c0
commit
2907b10dbb
2
NEWS
2
NEWS
@ -1,3 +1,5 @@
|
|||||||
|
Snapshot e748f756c0
|
||||||
|
|
||||||
* #4618: Make the shell service more resilient to failure. (tomeu)
|
* #4618: Make the shell service more resilient to failure. (tomeu)
|
||||||
|
|
||||||
Snapshot 39aca0154d
|
Snapshot 39aca0154d
|
||||||
|
@ -85,7 +85,10 @@ class Bundle:
|
|||||||
if self._unpacked:
|
if self._unpacked:
|
||||||
path = os.path.join(self._path, filename)
|
path = os.path.join(self._path, filename)
|
||||||
if os.path.isfile(path):
|
if os.path.isfile(path):
|
||||||
file = open(path)
|
try:
|
||||||
|
file = open(path)
|
||||||
|
except IOError:
|
||||||
|
logging.info('Cannot read %s' % path)
|
||||||
else:
|
else:
|
||||||
zip_file = zipfile.ZipFile(self._path)
|
zip_file = zipfile.ZipFile(self._path)
|
||||||
path = os.path.join(self._zip_root_dir, filename)
|
path = os.path.join(self._zip_root_dir, filename)
|
||||||
|
Loading…
Reference in New Issue
Block a user