diff options
author | Bob Ippolito <bob@redivi.com> | 2009-02-16 04:51:11 +0000 |
---|---|---|
committer | Bob Ippolito <bob@redivi.com> | 2009-02-16 04:51:11 +0000 |
commit | cf3c2982660b9b654c9cb8347bdbab67c2e1ca7a (patch) | |
tree | b838ac4294dd361f6af838b935effde5b3c1191d /simplejson/tool.py | |
parent | f909e2fb180a63dccb8311b28ec8ea5db34c9466 (diff) | |
download | simplejson-cf3c2982660b9b654c9cb8347bdbab67c2e1ca7a.tar.gz |
replace a few string formats with string addition to make py26+ porting easier
git-svn-id: http://simplejson.googlecode.com/svn/trunk@168 a4795897-2c25-0410-b006-0d3caba88fa1
Diffstat (limited to 'simplejson/tool.py')
-rw-r--r-- | simplejson/tool.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/simplejson/tool.py b/simplejson/tool.py index 0ba20bb..9044331 100644 --- a/simplejson/tool.py +++ b/simplejson/tool.py @@ -24,7 +24,7 @@ def main(): infile = open(sys.argv[1], 'rb') outfile = open(sys.argv[2], 'wb') else: - raise SystemExit("%s [infile [outfile]]" % (sys.argv[0],)) + raise SystemExit(sys.argv[0] + " [infile [outfile]]") try: obj = simplejson.load(infile) except ValueError, e: |