Ticket #1987: 1987.patch
File 1987.patch, 562 bytes (added by erikos, 14 years ago) |
---|
-
src/sugar/bundle/bundle.py
diff --git a/src/sugar/bundle/bundle.py b/src/sugar/bundle/bundle.py index a1b2686..5cf1c0b 100644
a b class Bundle(object): 61 61 def __init__(self, path): 62 62 self._path = path 63 63 self._zip_root_dir = None 64 self._zip_file = None 64 65 65 if os.path.isdir(self._path): 66 self._zip_file = None 67 else: 66 if not os.path.isdir(self._path): 68 67 self._zip_file = zipfile.ZipFile(self._path) 69 68 self._check_zip_bundle() 70 69