Revert change committed by mistake

This commit is contained in:
Marco Pesenti Gritti 2007-11-04 17:19:22 +01:00
parent 7f731457c2
commit ca0f28f5be

View File

@ -85,10 +85,7 @@ class Bundle:
if self._unpacked: if self._unpacked:
path = os.path.join(self._path, filename) path = os.path.join(self._path, filename)
if os.path.isfile(path): if os.path.isfile(path):
try:
file = open(path) file = open(path)
except IOError:
logging.info('Cannot read %s' % path)
else: else:
zip_file = zipfile.ZipFile(self._path) zip_file = zipfile.ZipFile(self._path)
path = os.path.join(self._zip_root_dir, filename) path = os.path.join(self._zip_root_dir, filename)