aboutsummaryrefslogtreecommitdiffstats
path: root/src/ovs/ofctl.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/ovs/ofctl.py')
-rw-r--r--src/ovs/ofctl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ovs/ofctl.py b/src/ovs/ofctl.py
index 64d54466..e5c20378 100644
--- a/src/ovs/ofctl.py
+++ b/src/ovs/ofctl.py
@@ -467,4 +467,4 @@ def flow_match(flow_dump, flow_src):
for rule in flow_src_list:
if rule in flow_dump_list:
flow_src_ctrl.remove(rule)
- return True if not len(flow_src_ctrl) else False
+ return True if not flow_src_ctrl else False