summaryrefslogtreecommitdiff
path: root/pystache
diff options
context:
space:
mode:
authorChris Jerdonek <chris.jerdonek@gmail.com>2012-04-02 22:58:59 -0700
committerChris Jerdonek <chris.jerdonek@gmail.com>2012-04-02 22:58:59 -0700
commit09906e25d2df663db3e1d80fc676768e17630f96 (patch)
tree63ed4c42e999b08be45dfe3b70786bfa2d412ae7 /pystache
parent2e7942cf0652098b067da7eb16b9953754a85af4 (diff)
downloadpystache-09906e25d2df663db3e1d80fc676768e17630f96.tar.gz
Spec tests now work with Python 2.4: code now fully works with Python 2.4
Diffstat (limited to 'pystache')
-rw-r--r--pystache/commands.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pystache/commands.py b/pystache/commands.py
index 333e665..1801d40 100644
--- a/pystache/commands.py
+++ b/pystache/commands.py
@@ -11,7 +11,8 @@ Run this script using the -h option for command-line help.
try:
import json
except:
- # For Python 2.5 support: the json module is new in version 2.6.
+ # The json module is new in Python 2.6, whereas simplejson is
+ # compatible with earlier versions.
import simplejson as json
# The optparse module is deprecated in Python 2.7 in favor of argparse.