diff --git a/NEWS b/NEWS index d5d4dbcf..3153b572 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +Snapshot e748f756c0 + * #4618: Make the shell service more resilient to failure. (tomeu) Snapshot 39aca0154d diff --git a/lib/sugar/bundle/bundle.py b/lib/sugar/bundle/bundle.py index 33fd1a81..3ff8b754 100644 --- a/lib/sugar/bundle/bundle.py +++ b/lib/sugar/bundle/bundle.py @@ -85,7 +85,10 @@ class Bundle: if self._unpacked: path = os.path.join(self._path, filename) if os.path.isfile(path): - file = open(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)