From 80190bf944977de1315df5f0d35438de29bac010 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sun, 10 Aug 2008 22:50:29 +0000 Subject: Several pylint fixes. --- (limited to 'src/sugar/bundle') 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: -- cgit v0.9.1