From ecdaf6b795550158273ba3a0d582f7ff2bec3187 Mon Sep 17 00:00:00 2001 From: Sascha Silbe Date: Tue, 25 Aug 2009 17:55:48 +0000 Subject: trim EOL (end-of-line) spaces on source files --- (limited to 'src/sugar/bundle/bundle.py') 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) -- cgit v0.9.1