aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreshokrgozar <eshokrgo@gmail.com>2020-04-16 07:46:38 -0700
committerEhsan Shokrgozar <ehsan.shokrgozar@autodesk.com>2020-04-16 13:13:10 -0700
commitfa0c4d2cb98ece0a7b156583d308ddf4370dc7d7 (patch)
treeddf67e94add0a61164e7a5c5d4526e14aa8d5cad
parent067b3f250769e921dc397e28f3aadd0ffa14e17b (diff)
downloadhttplib2-fa0c4d2cb98ece0a7b156583d308ddf4370dc7d7.tar.gz
Switched the iri2uri import to a relative import
Fixes an ImportError when using IronPython 2.7
-rw-r--r--python2/httplib2/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python2/httplib2/__init__.py b/python2/httplib2/__init__.py
index 9057d1f..c8ef962 100644
--- a/python2/httplib2/__init__.py
+++ b/python2/httplib2/__init__.py
@@ -129,7 +129,7 @@ if ssl is None:
_ssl_wrap_socket = _ssl_wrap_socket_unsupported
if sys.version_info >= (2, 3):
- from iri2uri import iri2uri
+ from .iri2uri import iri2uri
else:
def iri2uri(uri):