diff options
Diffstat (limited to 'src/sugar/bundle/bundle.py')
-rw-r--r-- | src/sugar/bundle/bundle.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sugar/bundle/bundle.py b/src/sugar/bundle/bundle.py index a1b2686..14fb7c9 100644 --- a/src/sugar/bundle/bundle.py +++ b/src/sugar/bundle/bundle.py @@ -46,7 +46,7 @@ class MalformedBundleException(Exception): class Bundle(object): """A Sugar activity, content module, etc. - + The bundle itself may be either a zip file or a directory hierarchy, with metadata about the bundle stored various files inside it. @@ -71,7 +71,7 @@ class Bundle(object): # manifest = self._get_file(self._infodir + '/contents') # if manifest is None: # raise MalformedBundleException('No manifest file') - # + # # signature = self._get_file(self._infodir + '/contents.sig') # if signature is None: # raise MalformedBundleException('No signature file') @@ -124,7 +124,7 @@ class Bundle(object): logging.debug('%s not found.' % filename) return f - + def is_file(self, filename): if self._zip_file is None: path = os.path.join(self._path, filename) |