Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
kamaki
Commits
fc79be92
Commit
fc79be92
authored
Oct 01, 2013
by
Stavros Sachtouris
Browse files
Log a request before commiting it
parent
ef3488a7
Changes
1
Show whitespace changes
Inline
Side-by-side
kamaki/clients/__init__.py
View file @
fc79be92
...
...
@@ -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
)
se
lf
.
dump_log
(
)
se
ndlog
.
info
(
''
)
keep_trying
=
TIMEOUT
while
keep_trying
>
0
:
try
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment