diff -r 2d0e6a207048 -r dfb5081e8ebe utils/create_url_polemics_param.py --- a/utils/create_url_polemics_param.py Fri Oct 17 16:51:48 2014 +0200 +++ b/utils/create_url_polemics_param.py Fri Oct 17 17:05:09 2014 +0200 @@ -16,7 +16,8 @@ else: output.append({"name": c["code"],"keywords": [ c["label"] ], "color" : c["color"] }) +output_str = json.dumps(output, separators=(',',':')) print "SIMPLE JSON DUMPS :" -print json.dumps(output) +print output_str print "\nURLLIB QUOTE_PLUS JSON DUMPS :" -print urllib.quote_plus(json.dumps(output)) \ No newline at end of file +print urllib.quote_plus(output_str) \ No newline at end of file