summaryrefslogtreecommitdiff
path: root/M2Crypto/m2urllib.py
diff options
context:
space:
mode:
Diffstat (limited to 'M2Crypto/m2urllib.py')
-rw-r--r--M2Crypto/m2urllib.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/M2Crypto/m2urllib.py b/M2Crypto/m2urllib.py
index 79791d4..06641b2 100644
--- a/M2Crypto/m2urllib.py
+++ b/M2Crypto/m2urllib.py
@@ -11,11 +11,10 @@ Copyright (c) 1999-2003 Ng Pheng Siong. All rights reserved."""
import base64
import warnings
-from M2Crypto import SSL, httpslib, six, util
+from M2Crypto import SSL, httpslib, six
from M2Crypto.six.moves.urllib_response import addinfourl
-if util.py27plus:
- from typing import AnyStr, Optional # noqa
+from typing import AnyStr, Optional # noqa
# six.moves doesn't support star imports
if six.PY3: