Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-11-04 16:19:22 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-11-04 16:19:22 (GMT)
commitca0f28f5bea9c882f90827345e6ce6abae78db70 (patch)
tree72c6db7fd628aa83599064c5e28efdebab0a0b86 /lib
parent7f731457c2b20bbfb37b78d4da6db55cb62d56b5 (diff)
Revert change committed by mistake
Diffstat (limited to 'lib')
-rw-r--r--lib/sugar/bundle/bundle.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/sugar/bundle/bundle.py b/lib/sugar/bundle/bundle.py
index 3ff8b75..33fd1a8 100644
--- a/lib/sugar/bundle/bundle.py
+++ b/lib/sugar/bundle/bundle.py
@@ -85,10 +85,7 @@ 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)
+ file = open(path)
else:
zip_file = zipfile.ZipFile(self._path)
path = os.path.join(self._zip_root_dir, filename)