diff options
author | Ilya Maximets <i.maximets@ovn.org> | 2022-08-04 15:56:13 +0200 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2022-08-04 18:13:20 +0200 |
commit | 434025a15453452f76962b5f625dbe30c61615fd (patch) | |
tree | 15de0b1ae453aa004cb692d7499c9032ae6ae008 /utilities | |
parent | 398623a63ed4f35e67292740466a99db018f75b6 (diff) | |
download | openvswitch-434025a15453452f76962b5f625dbe30c61615fd.tar.gz |
python: Fix E275 missing whitespace after keyword.
With just released flake8 5.0 we're getting a bunch of E275 errors:
utilities/bugtool/ovs-bugtool.in:959:23: E275 missing whitespace after keyword
tests/test-ovsdb.py:623:11: E275 missing whitespace after keyword
python/setup.py:105:8: E275 missing whitespace after keyword
python/setup.py:106:8: E275 missing whitespace after keyword
python/ovs/db/idl.py:145:15: E275 missing whitespace after keyword
python/ovs/db/idl.py:167:15: E275 missing whitespace after keyword
make[2]: *** [flake8-check] Error 1
This breaks CI on branches below 2.16. We don't see a problem right
now on newer branches because we're installing extra dependencies
that backtrack flake8 down to 4.1 or even 3.9.
Acked-by: Mike Pattrick <mkp@redhat.com>
Acked-by: Dumitru Ceara <dceara@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'utilities')
-rwxr-xr-x | utilities/bugtool/ovs-bugtool.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utilities/bugtool/ovs-bugtool.in b/utilities/bugtool/ovs-bugtool.in index fa62cbe94..fee0de853 100755 --- a/utilities/bugtool/ovs-bugtool.in +++ b/utilities/bugtool/ovs-bugtool.in @@ -956,7 +956,7 @@ def load_plugins(just_capabilities=False, filter=None): filters = [] else: filters = filters_tmp.split(',') - if not(filter is None or filter in filters): + if not (filter is None or filter in filters): continue if el.tagName == "files": newest_first = getBoolAttr(el, 'newest_first') |