projects
/
osm
/
osmclient.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enable black and pylint in tox, and update code accordingly
[osm/osmclient.git]
/
osmclient
/
common
/
http.py
diff --git
a/osmclient/common/http.py
b/osmclient/common/http.py
index
fa5eae7
..
433edd0
100644
(file)
--- a/
osmclient/common/http.py
+++ b/
osmclient/common/http.py
@@
-17,6
+17,7
@@
from io import BytesIO
import pycurl
import json
from io import BytesIO
import pycurl
import json
+import logging
class Http(object):
class Http(object):
@@
-25,6
+26,7
@@
class Http(object):
self._user = user
self._password = password
self._http_header = None
self._user = user
self._password = password
self._http_header = None
+ self._logger = logging.getLogger("osmclient")
def set_http_header(self, header):
self._http_header = header
def set_http_header(self, header):
self._http_header = header