summaryrefslogtreecommitdiff
path: root/pyasn1/compat/integer.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyasn1/compat/integer.py')
-rw-r--r--pyasn1/compat/integer.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/pyasn1/compat/integer.py b/pyasn1/compat/integer.py
index df6bed4..968d04f 100644
--- a/pyasn1/compat/integer.py
+++ b/pyasn1/compat/integer.py
@@ -12,12 +12,9 @@ from pyasn1.compat.octets import oct2int, null, ensureString
implementation = platform.python_implementation()
-if sys.version_info[0:2] < (3, 2) or implementation != 'CPython':
+if sys.version_info[0] < 3 or implementation != 'CPython':
from binascii import a2b_hex, b2a_hex
- if sys.version_info[0] > 2:
- long = int
-
def from_bytes(octets, signed=False):
if not octets:
return 0