diff --git a/grass/locale/grass_po_stats.py b/grass/locale/grass_po_stats.py index c5d6261..8e6ece8 100644 --- a/grass/locale/grass_po_stats.py +++ b/grass/locale/grass_po_stats.py @@ -16,7 +16,7 @@ import os, sys import subprocess -import json +import simplejson import glob import codecs @@ -126,7 +126,7 @@ def get_stats(languages, directory): def writejson(stats, outfile): # load dictionary into json format - fjson = json.dumps(stats, sort_keys=True, indent=4) + fjson = simplejson.dumps(stats, sort_keys=True, indent=4) # write a string with pretty style outjson = os.linesep.join([l.rstrip() for l in fjson.splitlines()]) # write out file