make flake8-check fails due to missing whitespaces around
arithmetic operator.

Signed-off-by: Daniel Alvarez <[email protected]>
---
 utilities/ovs-pipegen.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utilities/ovs-pipegen.py b/utilities/ovs-pipegen.py
index 8a2a4266e..ee5797221 100755
--- a/utilities/ovs-pipegen.py
+++ b/utilities/ovs-pipegen.py
@@ -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)
 
 
-- 
2.15.1 (Apple Git-101)

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to