From ca0f28f5bea9c882f90827345e6ce6abae78db70 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sun, 04 Nov 2007 16:19:22 +0000 Subject: Revert change committed by mistake --- 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) -- cgit v0.9.1