From 2907b10dbb715a0e053fc281fdbbcca6fd94570b Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sat, 03 Nov 2007 22:32:31 +0000 Subject: Snapshot e748f756c0. --- (limited to 'lib') 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) -- cgit v0.9.1