Browse files

Merge "Add -X to DELETE and PUT in debug mode"

  • Loading branch information...
2 parents dfa1c71 + ee2405d commit 671afc344c6830e5c97ec3905a7fb1d998c43d8c Jenkins committed with openstack-gerrit Sep 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 novaclient/client.py
View
2 novaclient/client.py
@@ -120,7 +120,7 @@ def http_log_req(self, args, kwargs):
string_parts = ['curl -i']
for element in args:
- if element in ('GET', 'POST'):
+ if element in ('GET', 'POST', 'DELETE', 'PUT'):
string_parts.append(' -X %s' % element)
else:
string_parts.append(' %s' % element)

0 comments on commit 671afc3

Please sign in to comment.