Commit 0d3ef2ed authored by jvoisin's avatar jvoisin

Misc pep8 conformity

parent f80612a4
......@@ -30,7 +30,7 @@ class GenericArchiveStripper(parser.GenericParser):
""" Remove the files inside the temp dir,
then remove the temp dir
for root, dirs, files in os.walk(self.tempdir):
for root, _, files in os.walk(self.tempdir):
for item in files:
path_file = os.path.join(root, item)
......@@ -55,7 +55,7 @@ class TorrentStripper(parser.GenericParser):
d = dict()
for i, j in list(dictionary.items()):
if not i in self.fields:
if i not in self.fields:
elif isinstance(j, dict):
d = dict(list(d.items()) + list(self.__get_meta_recursively(j).items()))
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment