Closed Bug 845620 Opened 11 years ago Closed 11 years ago

Use Python's json library instead of homegrown pseudo-JSON in writemozinfo.py

Categories

(Testing :: Mozbase, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 812179

People

(Reporter: mbrubeck, Assigned: mbrubeck)

References

Details

Attachments

(1 file)

Attached patch patchSplinter Review
writemozinfo.py outputs invalid JSON (it uses '' instead "" for strings), which interferes with a script I'm writing that tries to parse mozinfo.json.

Now that we require Python 2.6 (bug 800614), we can just use the built-in json library here.
Attachment #718786 - Flags: review?(jhammel)
Comment on attachment 718786 [details] [diff] [review]
patch

Well, you know me....always like killing the horrible hacks.  Thanks!
Attachment #718786 - Flags: review?(jhammel) → review+
This same fix is sitting in a patch on bug 812179, I'm not sure why that never landed.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: