diff options
author | Jenkins <jenkins@review.openstack.org> | 2013-02-16 10:58:37 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2013-02-16 10:58:37 +0000 |
commit | 7a33cc01007efce5e30adac4ab612d2917b0d357 (patch) | |
tree | 2529ae9f42fa7e797c5ce57a12297e7a05a8f021 /keystoneclient/client.py | |
parent | 6304126b49ba68542a1b3e7d5424922717c5475f (diff) | |
parent | e0c3e30653916cd01fa4542842d86a69e0bbb077 (diff) | |
download | python-keystoneclient-7a33cc01007efce5e30adac4ab612d2917b0d357.tar.gz |
Merge "If you specify the --debug argument, it doesn't show the body of a POST request. The body (string rep) is at 'data' in the kwargs dict. 'body' was deleted prior to this call."
Diffstat (limited to 'keystoneclient/client.py')
-rw-r--r-- | keystoneclient/client.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keystoneclient/client.py b/keystoneclient/client.py index 9b6f6dd..84307cf 100644 --- a/keystoneclient/client.py +++ b/keystoneclient/client.py @@ -292,8 +292,8 @@ class HTTPClient(object): string_parts.append(header) _logger.debug("REQ: %s" % "".join(string_parts)) - if 'body' in kwargs: - _logger.debug("REQ BODY: %s\n" % (kwargs['body'])) + if 'data' in kwargs: + _logger.debug("REQ BODY: %s\n" % (kwargs['data'])) def http_log_resp(self, resp): if self.debug_log: |