##// END OF EJS Templates
py3: check python version to enable builtins hack...
Yuya Nishihara -
r29798:31d588fc default
parent child Browse files
Show More
@@ -29,9 +29,7 b' else:'
29 import urllib.parse as urlparse
29 import urllib.parse as urlparse
30 import xmlrpc.client as xmlrpclib
30 import xmlrpc.client as xmlrpclib
31
31
32 try:
32 if sys.version_info[0] >= 3:
33 xrange
34 except NameError:
35 import builtins
33 import builtins
36 builtins.xrange = range
34 builtins.xrange = range
37
35
General Comments 0
You need to be logged in to leave comments. Login now