summaryrefslogtreecommitdiffstats
path: root/modules/opnfv/utils/Credentials.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/opnfv/utils/Credentials.py')
-rw-r--r--modules/opnfv/utils/Credentials.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/opnfv/utils/Credentials.py b/modules/opnfv/utils/Credentials.py
index 6441b841c..141ecbd93 100644
--- a/modules/opnfv/utils/Credentials.py
+++ b/modules/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