summaryrefslogtreecommitdiff
path: root/ick2/client.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-03-30 14:14:49 +0300
committerLars Wirzenius <liw@liw.fi>2018-03-30 14:16:08 +0300
commit770bc9e29739e602ac95488d3e90b1480e55a936 (patch)
tree36f6b4b26f836e089cf075c31ff93e47eadf73c5 /ick2/client.py
parent7951e2ee4f9bd2a2780488720e0b8c625e43e5d0 (diff)
downloadick2-770bc9e29739e602ac95488d3e90b1480e55a936.tar.gz
Drop: much debug logging
Diffstat (limited to 'ick2/client.py')
-rw-r--r--ick2/client.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/ick2/client.py b/ick2/client.py
index 99b8487..5468c7f 100644
--- a/ick2/client.py
+++ b/ick2/client.py
@@ -92,16 +92,7 @@ class HttpAPI:
headers = {}
headers.update(self._get_authorization_headers())
- logging.debug('request: func=%r', func)
- logging.debug('request: url=%r', url)
- for h in headers:
- logging.debug('request: %s: %s', h, headers[h])
- logging.debug('request: kwargs=%r', kwargs)
-
r = func(url, headers=headers, verify=False, **kwargs)
- logging.debug('response: status_code=%r', r.status_code)
- logging.debug('response: content=%r', r.content)
-
if not r.ok:
raise HttpError(r.status_code)
return r
@@ -182,8 +173,6 @@ class Reporter: # pragma: no cover
result['exit_code'] = exit_code
result['stdout'] = self.make_string(stdout)
result['stderr'] = self.make_string(stderr)
- for key in result:
- logging.debug('Reporter: result[%r]=%r', key, result[key])
self._api.report_work(result)
def make_string(self, thing):