diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2007-11-03 22:32:31 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpg@redhat.com> | 2007-11-03 22:32:31 (GMT) |
commit | 2907b10dbb715a0e053fc281fdbbcca6fd94570b (patch) | |
tree | d5dfc642cc9c32e783b09ba326de5a3c0adfce0f | |
parent | e748f756c0d433349421fe613809bf5c6912e1ea (diff) |
Snapshot e748f756c0.
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | lib/sugar/bundle/bundle.py | 5 |
2 files changed, 6 insertions, 1 deletions
@@ -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 33fd1a8..3ff8b75 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) |