summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Cristau <julien.cristau@logilab.fr>2014-09-23 11:16:11 +0200
committerJulien Cristau <julien.cristau@logilab.fr>2014-09-23 11:16:11 +0200
commit2a7d3ca7c2b7a5563ff3aa9293a537a9a73f9563 (patch)
tree4b17b301315ba0057da20bfa5b5c63057b65209b
parent66af984945e6cbd01f7801324751bfd69ebd5090 (diff)
downloadlogilab-common-2a7d3ca7c2b7a5563ff3aa9293a537a9a73f9563.tar.gz
[compat] remove range
Use six.moves instead.
-rw-r--r--compat.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/compat.py b/compat.py
index 33e3b26..f2eb590 100644
--- a/compat.py
+++ b/compat.py
@@ -76,10 +76,3 @@ from logilab.common.deprecation import deprecated
# backwards compat
any = deprecated('use builtin "any"')(any)
all = deprecated('use builtin "all"')(all)
-
-# XXX shouldn't we remove this and just let 2to3 do his job ?
-# range or xrange?
-try:
- range = xrange
-except NameError:
- range = range