brennerm / check-mk-web-api

Python library to talk to the Check_Mk Web API
https://brennerm.github.io/check-mk-web-api/
MIT License
53 stars 26 forks source link

remove import urllib.parse to stay compatible with python2 #23

Closed perlduck closed 3 years ago

perlduck commented 4 years ago

The "import urllib.parse" was introduced with commit 50bba2a to fix requests containing an '&' character. But the class WebApi already used urllib.parse through the use of "from six.moves import urllib". The introduction of "import urllib.parse" made the module incompatible with Python2.

brennerm commented 3 years ago

Thanks for the contribution and sorry for the late response.