summaryrefslogtreecommitdiff
path: root/rsa/pem.py
diff options
context:
space:
mode:
authorMichael Manganiello <adamantike@users.noreply.github.com>2016-05-08 08:19:07 -0300
committerSybren A. Stüvel <sybren@stuvel.eu>2016-05-08 13:19:07 +0200
commit1369d748e9b557ed769c9456dc43ab3c0530663f (patch)
tree73687fb7dc65c7479353a353e619e603f44f1499 /rsa/pem.py
parent7e5854dc6f4c748ffcbff0066dbfef0a8bdbfbf6 (diff)
downloadrsa-git-1369d748e9b557ed769c9456dc43ab3c0530663f.tar.gz
xrange compatibility optimization for Python 2 (#69)
Diffstat (limited to 'rsa/pem.py')
-rw-r--r--rsa/pem.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/rsa/pem.py b/rsa/pem.py
index d5427a0..db0304a 100644
--- a/rsa/pem.py
+++ b/rsa/pem.py
@@ -17,7 +17,8 @@
"""Functions that load and write PEM-encoded files."""
import base64
-from rsa._compat import b, is_bytes
+
+from rsa._compat import b, is_bytes, range
def _markers(pem_marker):