diff options
Diffstat (limited to 'src/ovs')
-rw-r--r-- | src/ovs/dpctl.py | 2 | ||||
-rw-r--r-- | src/ovs/ofctl.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ovs/dpctl.py b/src/ovs/dpctl.py index 015fb38c..5030223e 100644 --- a/src/ovs/dpctl.py +++ b/src/ovs/dpctl.py @@ -60,5 +60,5 @@ class DPCtl(object): :return: None """ - self.logger.debug('delete datapath ' + dp_name) + self.logger.debug('delete datapath %s', dp_name) self.run_dpctl(['del-dp', dp_name]) 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 |