styling: pep8

This commit is contained in:
Vadim Kravcenko 2015-05-11 22:02:53 +02:00
parent 0f622de27c
commit 9035a2eb5b

View File

@ -38,7 +38,8 @@ def get_all_imports(path):
candidates += [os.path.splitext(fn)[0] for fn in files]
for file_name in files:
with open(os.path.join(root, file_name), "r") as f:
lines = filter(filter_line, map(lambda l: l.partition("#")[0].strip(), f))
lines = filter(
filter_line, map(lambda l: l.partition("#")[0].strip(), f))
for line in lines:
if "(" in line:
break