[Dextrose] [PATCH sugar-toolkit 1/2] Fix typo in except block

Aleksey Lim alsroot at member.fsf.org
Wed Jan 12 09:37:08 EST 2011


---
 src/sugar/bundle/bundle.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/sugar/bundle/bundle.py b/src/sugar/bundle/bundle.py
index 2c210b3..a402ae9 100644
--- a/src/sugar/bundle/bundle.py
+++ b/src/sugar/bundle/bundle.py
@@ -73,7 +73,7 @@ class Bundle(object):
         if not os.path.isdir(self._path):
             try:
                 self._zip_file = zipfile.ZipFile(self._path)
-            except (zipfile.error, LargeZipFile), ziperror:
+            except (zipfile.error, zipfile.LargeZipFile), ziperror:
                 raise MalformedBundleException(
                     "Error accessing zip file %s: %s"
                     % (self._path, ziperror))
-- 
1.7.3.4



More information about the Dextrose mailing list