mirror of
https://github.com/openvswitch/ovs
synced 2025-08-22 01:51:26 +00:00
python: Trivial fix flake8 error
make flake8-check fails due to missing whitespaces around arithmetic operator. Signed-off-by: Daniel Alvarez <dalvarez@redhat.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
This commit is contained in:
parent
79c7961b8b
commit
efae9437d1
@ -64,7 +64,7 @@ def l4(stage, action):
|
||||
match += ",ip_dst=%s/%d" % rand_ip_mask()
|
||||
|
||||
src_dst = "tp_src" if rand_bool() else "tp_dst"
|
||||
match += ",%s=%d" % (src_dst, random.randint(1024, 2**16 - 1))
|
||||
match += ",%s=%d" % (src_dst, random.randint(1024, 2 ** 16 - 1))
|
||||
return flow_str(stage, match, action)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user