Skip to content

Commit

Permalink
Merge "API server returns JSON so attempt to treat it as string is er…
Browse files Browse the repository at this point in the history
…roneous" into R3.2
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Dec 13, 2016
2 parents 199be21 + d0f4584 commit 8a42570
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/config/utils/rbacutil.py
Expand Up @@ -179,8 +179,7 @@ def get_ks_var(self, name):
sys.exit(1)

try:
rv_json = vnc._request_server(rest.OP_GET, url)
rv = json.loads(rv_json)
rv = vnc._request_server(rest.OP_GET, url)
print 'AAA mode is %s' % rv['aaa-mode']
except Exception as e:
print str(e)
Expand Down

0 comments on commit 8a42570

Please sign in to comment.