diff options
author | Daniel Drake <dsd@laptop.org> | 2008-07-15 15:41:47 (GMT) |
---|---|---|
committer | Daniel Drake <dsd@laptop.org> | 2008-07-15 15:42:56 (GMT) |
commit | d17347cc19661910b94c126c11e6e320995aaf06 (patch) | |
tree | 7af9cd155ef8c46ce0451091cedc5ef55827296c /src/sugar/bundle | |
parent | 6a78863c220f7bcdd510a06b21ef03aaad5eb2b1 (diff) |
#7523 fix content bundle installation
Diffstat (limited to 'src/sugar/bundle')
-rw-r--r-- | src/sugar/bundle/contentbundle.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sugar/bundle/contentbundle.py b/src/sugar/bundle/contentbundle.py index effab23..3de6414 100644 --- a/src/sugar/bundle/contentbundle.py +++ b/src/sugar/bundle/contentbundle.py @@ -49,13 +49,13 @@ class ContentBundle(Bundle): self._library_version = None self._bundle_class = None - info_file = self._get_file('library/library.info') + info_file = self.get_file('library/library.info') if info_file is None: raise MalformedBundleException('No library.info file') self._parse_info(info_file) - if (self._get_file('index.html') is None and - self._get_file('library/library.xml') is None): + if (self.get_file('index.html') is None and + self.get_file('library/library.xml') is None): raise MalformedBundleException( 'Content bundle %s has neither index.html nor library.xml' % self._path) |