diff options
author | eshokrgozar <eshokrgo@gmail.com> | 2020-04-16 07:46:38 -0700 |
---|---|---|
committer | Ehsan Shokrgozar <ehsan.shokrgozar@autodesk.com> | 2020-04-16 13:13:10 -0700 |
commit | fa0c4d2cb98ece0a7b156583d308ddf4370dc7d7 (patch) | |
tree | ddf67e94add0a61164e7a5c5d4526e14aa8d5cad | |
parent | 067b3f250769e921dc397e28f3aadd0ffa14e17b (diff) | |
download | httplib2-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__.py | 2 |
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): |