aboutsummaryrefslogtreecommitdiffstats
path: root/opnfv/utils/Credentials.py
diff options
context:
space:
mode:
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