contrib/check-code.py
changeset 29143 8ed693ec5398
parent 29142 c07be448028b
child 29144 f8b87a779c87
--- a/contrib/check-code.py	Wed May 11 01:56:08 2016 +0000
+++ b/contrib/check-code.py	Wed May 11 01:39:07 2016 +0000
@@ -27,6 +27,10 @@
 import re
 import sys
 try:
+    xrange
+except NameError:
+    xrange = range
+try:
     import re2
 except ImportError:
     re2 = None