From ca0f28f5bea9c882f90827345e6ce6abae78db70 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sun, 4 Nov 2007 17:19:22 +0100 Subject: [PATCH] Revert change committed by mistake --- lib/sugar/bundle/bundle.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/sugar/bundle/bundle.py b/lib/sugar/bundle/bundle.py index 3ff8b754..33fd1a81 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)