Skip to content

Commit

Permalink
Bug 1260329 - Properly escape the frameTable when running |dmd.py --c…
Browse files Browse the repository at this point in the history
…lamp-contents|. r=mccr8.
  • Loading branch information
nnethercote committed Mar 29, 2016
1 parent a94b5f8 commit 89636e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion memory/replace/dmd/dmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ def prettyPrintDmdJson(out, j):
first = True
for k, v in j['frameTable'].iteritems():
out.write('' if first else ',')
out.write('\n "{0}": "{1}"'.format(k, v))
out.write('\n "{0}": {1}'.format(k, json.dumps(v)))
first = False
out.write('\n }\n')

Expand Down

0 comments on commit 89636e6

Please sign in to comment.