aboutsummaryrefslogtreecommitdiffstats
path: root/nfvbench/credentials.py
diff options
context:
space:
mode:
authorPierrick Louin <pierrick.louin@orange.com>2020-11-08 22:31:41 +0100
committerPierrick Louin <pierrick.louin@orange.com>2020-11-09 10:37:30 +0100
commit78f547514e54a9332b919734aed7c8ca1390cb48 (patch)
tree5b11acddf8e033e1e1d699ba6d7a485e9a5741d2 /nfvbench/credentials.py
parentd41631be9142a50284cfbfd252a53e97d7ebd8c7 (diff)
NFVBENCH-187: Augment --l2-loopback command line option capabilities
[vlan(s)|no-tag|true|false] - Update documentation Clarify some fuzzy coding in options processing [nfvbench.py] Change-Id: Ie6eec7722bfa557924f435f268b852c300e160df Signed-off-by: Pierrick Louin <pierrick.louin@orange.com>
Diffstat (limited to 'nfvbench/credentials.py')
-rw-r--r--nfvbench/credentials.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nfvbench/credentials.py b/nfvbench/credentials.py
index d9a67e6..4e4985f 100644
--- a/nfvbench/credentials.py
+++ b/nfvbench/credentials.py
@@ -176,7 +176,7 @@ class Credentials(object):
# Return HTTP 200 if user is admin
self.get_session().get('/users', endpoint_filter=filter)
self.is_admin = True
- except Exception as e:
+ except Exception:
try:
# vX/users URL returns exception (HTTP 403) if user is not admin.
self.get_session().get('/v' + str(self.rc_identity_api_version) + '/users',