mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
flake8: Fix E721 check failures.
E721: "do not compare types, for exact checks use `is` / `is not`, for instance checks use `isinstance()`" This fixes `make flake8-check` target when running with pycodestyle>=1.2. Acked-by: Eelco Chaudron <echaudro@redhat.com> Signed-off-by: Ihar Hrachyshka <ihrachys@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
This commit is contained in:
committed by
Ilya Maximets
parent
28f6e7602c
commit
fdbf0bb2ae
@@ -377,7 +377,7 @@ class Session(object):
|
||||
self.stream = None
|
||||
self.pstream = None
|
||||
self.seqno = 0
|
||||
if type(remotes) != list:
|
||||
if type(remotes) is not list:
|
||||
remotes = [remotes]
|
||||
self.remotes = remotes
|
||||
random.shuffle(self.remotes)
|
||||
|
Reference in New Issue
Block a user