##// END OF EJS Templates
run-tests: use a try/except ladder instead of looking for a specific version...
Augie Fackler -
r23263:dd51abf0 default
parent child Browse files
Show More
@@ -61,12 +61,12 b' from xml.dom import minidom'
61 61 import unittest
62 62
63 63 try:
64 if sys.version_info < (2, 7):
64 import json
65 except ImportError:
66 try:
65 67 import simplejson as json
66 else:
67 import json
68 except ImportError:
69 json = None
68 except ImportError:
69 json = None
70 70
71 71 processlock = threading.Lock()
72 72
General Comments 0
You need to be logged in to leave comments. Login now