Show More
@@ -199,7 +199,7 b' def json(obj):' | |||
|
199 | 199 | return '"%s"' % jsonescape(obj) |
|
200 | 200 | elif util.safehasattr(obj, 'keys'): |
|
201 | 201 | out = [] |
|
202 | for k, v in obj.iteritems(): | |
|
202 | for k, v in sorted(obj.iteritems()): | |
|
203 | 203 | s = '%s: %s' % (json(k), json(v)) |
|
204 | 204 | out.append(s) |
|
205 | 205 | return '{' + ', '.join(out) + '}' |
General Comments 0
You need to be logged in to leave comments.
Login now