##// 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,10 +61,10 b' from xml.dom import minidom'
61 import unittest
61 import unittest
62
62
63 try:
63 try:
64 if sys.version_info < (2, 7):
64 import json
65 except ImportError:
66 try:
65 import simplejson as json
67 import simplejson as json
66 else:
67 import json
68 except ImportError:
68 except ImportError:
69 json = None
69 json = None
70
70
General Comments 0
You need to be logged in to leave comments. Login now