aboutsummaryrefslogtreecommitdiffstats
path: root/opnfv/utils/Credentials.py
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2017-02-14 14:37:05 +0100
committerjose.lausuch <jose.lausuch@ericsson.com>2017-02-14 16:58:05 +0100
commitf169fa760059f91ba68960a7f87ca915e7d0ddaf (patch)
tree6178525e8a96f13613846603489e042f05009947 /opnfv/utils/Credentials.py
parent2b191ef958106da17594ee8a4143a392984822b0 (diff)
Fix flake8 violations in releng
Change-Id: I45769ff9c9db2de9fbba69117a92de414dd7f651 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'opnfv/utils/Credentials.py')
-rw-r--r--opnfv/utils/Credentials.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/opnfv/utils/Credentials.py b/opnfv/utils/Credentials.py
index 6441b84..141ecbd 100644
--- a/opnfv/utils/Credentials.py
+++ b/opnfv/utils/Credentials.py
@@ -77,7 +77,7 @@ class Credentials(object):
creds_file = '/root/openrc'
try:
self.handler.get_file_from_controller(creds_file, target_path)
- except Exception, e:
+ except Exception as e:
self.logger.error(
"Cannot get %s from controller. %e" % (creds_file, e))
pass