Jawbone / UPPlatform_Python_SDK

Python SDK for the UP API
https://developer.jawbone.com
Apache License 2.0
6 stars 2 forks source link

No httplib in Python 3 #3

Open ornj opened 8 years ago

ornj commented 8 years ago

It's now http.client in Python 3. https://docs.python.org/3/library/http.client.html

ray-ray commented 8 years ago

Need to test whether this would be sufficient:

try:
    import http.client as httplib
except ImportError:
    import httplib
ornj commented 8 years ago

I think so, I've seen it done like that before.