diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2020-11-20 20:25:40 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2020-11-20 21:05:21 +0100 |
commit | 0ac96ae996d36ff452afe0fbb7a368fcd35b219b (patch) | |
tree | 015d6990df7a853255344b7d6c95a60d948d169a /M2Crypto/m2urllib.py | |
parent | 20cdafd017916c87acea1404254226b39ceea832 (diff) | |
download | m2crypto-0ac96ae996d36ff452afe0fbb7a368fcd35b219b.tar.gz |
Remove support for CentOS 6 and Python 2.6
Support of CentOS 6 ends on 2020-11-30.
Fixes #283
Diffstat (limited to 'M2Crypto/m2urllib.py')
-rw-r--r-- | M2Crypto/m2urllib.py | 5 |
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: |