Enable black and pylint in tox, and update code accordingly
[osm/osmclient.git] / osmclient / common / http.py
index fa5eae7..433edd0 100644 (file)
@@ -17,6 +17,7 @@
 from io import BytesIO
 import pycurl
 import json
+import logging
 
 
 class Http(object):
@@ -25,6 +26,7 @@ class Http(object):
         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