Skip to content

Commit

Permalink
Switched the iri2uri import to a relative import
Browse files Browse the repository at this point in the history
Fixes an ImportError when using IronPython 2.7
  • Loading branch information
eshokrgozar committed Apr 16, 2020
1 parent 067b3f2 commit fa0c4d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python2/httplib2/__init__.py
Expand Up @@ -129,7 +129,7 @@ def _ssl_wrap_socket_unsupported(
_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):
Expand Down

0 comments on commit fa0c4d2

Please sign in to comment.