aboutsummaryrefslogtreecommitdiffstats
path: root/sfc/lib
diff options
context:
space:
mode:
authorManuel Buil <mbuil@suse.com>2018-04-03 17:21:05 +0200
committerManuel Buil <mbuil@suse.com>2018-04-03 17:21:05 +0200
commitcc16df5b8317d46e06f4331edf602eaa2a77acbf (patch)
tree0b91f6530967ef049bc18f59c2e42fe9292b4b68 /sfc/lib
parent9dda531e8e9be93b930b89d45a395085fbcb61cc (diff)
Fix flake8 problems
There was a bug in releng and pylint was not ran, some issues got merged in master because of that Change-Id: Icf3fa882f4f2b0593fa0b85edce46e49dcc303c9 Signed-off-by: Manuel Buil <mbuil@suse.com>
Diffstat (limited to 'sfc/lib')
-rw-r--r--sfc/lib/openstack_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfc/lib/openstack_utils.py b/sfc/lib/openstack_utils.py
index fb63de9e..4a1c634d 100644
--- a/sfc/lib/openstack_utils.py
+++ b/sfc/lib/openstack_utils.py
@@ -219,7 +219,7 @@ class OpenStackSFC:
return port
else:
logger.error("The VM {0} does not have any port"
- " with name {1}".format(vm_name, port_name))
+ " with name {1}".format(vm.name, port_name))
raise Exception("Client VM does not have the desired port")