summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRuan HE <ruan.he@orange.com>2015-12-01 16:25:13 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-12-01 16:25:13 +0000
commit9aec641e785ac9f4116177401bebba3a27e2464d (patch)
tree220d42bf2437cb0147373a51f4500cc84137670c
parent976d35752576eb91aab995ec95009dd4b8ede1e9 (diff)
parente0b8eff4c04322d8f081d41c02b2465034449743 (diff)
Merge "Add a debug output for testing purpose."
-rw-r--r--moonclient/moonclient/shell.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/moonclient/moonclient/shell.py b/moonclient/moonclient/shell.py
index 65adbc0d..1be1a42a 100644
--- a/moonclient/moonclient/shell.py
+++ b/moonclient/moonclient/shell.py
@@ -182,6 +182,8 @@ class MoonClient(App):
return content
except ValueError:
raise Exception("Getting an error while requiring {} ({})".format(url, content))
+ finally:
+ self.log.debug(str(content))
def auth_keystone(self, username=None, password=None, host=None, port=None):
"""Send a new authentication request to Keystone