Commit a8173aaa by Chris Jerdonek

Now works with Python 2.5 (except for one unit test).

parent b975e6aa
......@@ -7,7 +7,13 @@ Run this script using the -h option for command-line help.
"""
import json
try:
import json
except:
# For Python 2.5 support: the json module is new in version 2.6.
import simplejson as json
# The optparse module is deprecated in Python 2.7 in favor of argparse.
# However, argparse is not available in Python 2.6 and earlier.
from optparse import OptionParser
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment