Several pylint fixes.
This commit is contained in:
@@ -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))
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user