Fix Flake E241

One more step towards white space sanity. Next group is E20x.
This commit is contained in:
Dirk Mueller 2019-12-10 08:46:02 +01:00
parent 670c4ce8dc
commit ec88760187
11 changed files with 14 additions and 14 deletions

View File

@ -1,4 +1,4 @@
[flake8] [flake8]
exclude = .open-build-service/, abichecker, openqa, openqa-maintenance.py exclude = .open-build-service/, abichecker, openqa, openqa-maintenance.py
max-line-length = 100 max-line-length = 100
ignore = E501,F401,E302,E128,E251,E201,E202,E203,E305,F841,E265,E261,E266,E712,E401,E126,E502,E241,E711,E125,E123,W293,W391,E101,E713,E124,E127,E701,E714,W503,W504,E129,E741,E722,E731 ignore = E501,F401,E302,E128,E251,E201,E202,E203,E305,F841,E265,E261,E266,E712,E401,E126,E502,E711,E125,E123,W293,W391,E101,E713,E124,E127,E701,E714,W503,W504,E129,E741,E722,E731

View File

@ -103,8 +103,8 @@ class ChangeLogger(cmdln.Cmdln):
raise Exception("Could not open %s as an ISO-9660 image." % arg) raise Exception("Could not open %s as an ISO-9660 image." % arg)
# On Tumbleweed, there is no '/suse' prefix # On Tumbleweed, there is no '/suse' prefix
for path in ['/suse/x86_64', '/suse/noarch', '/suse/aarch64', '/suse/s390x', for path in ['/suse/x86_64', '/suse/noarch', '/suse/aarch64',
'/x86_64', '/noarch', '/aarch64', '/s390x' ]: '/suse/s390x', '/x86_64', '/noarch', '/aarch64', '/s390x' ]:
file_stats = iso.readdir(path) file_stats = iso.readdir(path)
if file_stats is None: if file_stats is None:
continue continue