Several pylint fixes.

This commit is contained in:
Marco Pesenti Gritti
2008-08-11 00:50:29 +02:00
parent 4c35d77854
commit 80190bf944
7 changed files with 20 additions and 14 deletions
+1 -1
View File
@@ -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))
+1
View File
@@ -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: