diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2008-08-10 22:50:29 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2008-08-10 22:50:29 (GMT) |
commit | 80190bf944977de1315df5f0d35438de29bac010 (patch) | |
tree | b3b0a24ac0a3a2a38f657aeff3129efa0c7112a7 /src/sugar/bundle | |
parent | 4c35d778549477d0865b69761b2d87eef94cad18 (diff) |
Several pylint fixes.
Diffstat (limited to 'src/sugar/bundle')
-rw-r--r-- | src/sugar/bundle/activitybundle.py | 2 | ||||
-rw-r--r-- | src/sugar/bundle/contentbundle.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/sugar/bundle/activitybundle.py b/src/sugar/bundle/activitybundle.py index 2c235d8..5f29a69 100644 --- a/src/sugar/bundle/activitybundle.py +++ b/src/sugar/bundle/activitybundle.py @@ -291,7 +291,7 @@ class ActivityBundle(Bundle): # List installed files manifestfiles = self.get_files(self._raw_manifest()) paths = [] - for root, dirs, files in os.walk(install_path): + for root, dirs_, files in os.walk(install_path): rel_path = root[len(install_path) + 1:] for f in files: paths.append(os.path.join(rel_path, f)) diff --git a/src/sugar/bundle/contentbundle.py b/src/sugar/bundle/contentbundle.py index 32f38e3..f99c13a 100644 --- a/src/sugar/bundle/contentbundle.py +++ b/src/sugar/bundle/contentbundle.py @@ -49,6 +49,7 @@ class ContentBundle(Bundle): self._category_icon = None self._library_version = None self._bundle_class = None + self._activity_start = None info_file = self.get_file('library/library.info') if info_file is None: |