summaryrefslogtreecommitdiff
path: root/M2Crypto/Rand.py
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2020-11-20 20:25:40 +0100
committerMatěj Cepl <mcepl@cepl.eu>2020-11-20 21:05:21 +0100
commit0ac96ae996d36ff452afe0fbb7a368fcd35b219b (patch)
tree015d6990df7a853255344b7d6c95a60d948d169a /M2Crypto/Rand.py
parent20cdafd017916c87acea1404254226b39ceea832 (diff)
downloadm2crypto-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/Rand.py')
-rw-r--r--M2Crypto/Rand.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/M2Crypto/Rand.py b/M2Crypto/Rand.py
index 86a6f16..a178b1b 100644
--- a/M2Crypto/Rand.py
+++ b/M2Crypto/Rand.py
@@ -7,9 +7,8 @@ See LICENCE for the license information.
"""
from __future__ import absolute_import
-from M2Crypto import m2, py27plus, six
-if py27plus:
- from typing import AnyStr, Tuple # noqa
+from M2Crypto import m2, six
+from typing import AnyStr, Tuple # noqa
__all__ = ['rand_seed', 'rand_add', 'load_file', 'save_file', 'rand_bytes',