2
0
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:
Daniel Alvarez 2018-04-04 23:33:08 +02:00 committed by Ben Pfaff
parent 79c7961b8b
commit efae9437d1

View File

@ -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)