projects
/
kamaki
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef3488a
)
Log a request before commiting it
author
Stavros Sachtouris
<saxtouri@admin.grnet.gr>
Tue, 1 Oct 2013 15:59:05 +0000
(18:59 +0300)
committer
Stavros Sachtouris
<saxtouri@admin.grnet.gr>
Tue, 1 Oct 2013 15:59:05 +0000
(18:59 +0300)
kamaki/clients/__init__.py
patch
|
blob
|
history
diff --git
a/kamaki/clients/__init__.py
b/kamaki/clients/__init__.py
index
8e4715a
..
49e46a9
100644
(file)
--- a/
kamaki/clients/__init__.py
+++ b/
kamaki/clients/__init__.py
@@
-160,7
+160,6
@@
class RequestManager(Logged):
self._token) else self.data)
else:
sendlog.info('data size:0%s' % plog)
- sendlog.info('')
def perform(self, conn):
"""
@@
-168,12
+167,13
@@
class RequestManager(Logged):
:returns: (HTTPResponse)
"""
+ self.dump_log()
conn.request(
method=str(self.method.upper()),
url=str(self.path),
headers=self.headers,
body=self.data)
- self.dump_log()
+ sendlog.info('')
keep_trying = TIMEOUT
while keep_trying > 0:
try: