diff options
author | Sascha Silbe <sascha@silbe.org> | 2009-08-25 17:55:48 (GMT) |
---|---|---|
committer | Sascha Silbe <sascha@silbe.org> | 2009-08-25 17:55:48 (GMT) |
commit | ecdaf6b795550158273ba3a0d582f7ff2bec3187 (patch) | |
tree | 11e289d68827c2db1851482efaa7f64da5af93cb /src/sugar/bundle/bundle.py | |
parent | 6c3fd0346c1876ad501c3c91d50cdf42f7e0a9dc (diff) |
trim EOL (end-of-line) spaces on source files
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 5979d5b..44037e8 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) |