Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco 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)
commit2907b10dbb715a0e053fc281fdbbcca6fd94570b (patch)
treed5dfc642cc9c32e783b09ba326de5a3c0adfce0f
parente748f756c0d433349421fe613809bf5c6912e1ea (diff)
Snapshot e748f756c0.
-rw-r--r--NEWS2
-rw-r--r--lib/sugar/bundle/bundle.py5
2 files changed, 6 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index d5d4dbc..3153b57 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 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)