Closed Bug 721918 Opened 14 years ago Closed 14 years ago

use configparser instead of a crazy bunch of regexes to read application.ini

Categories

(Testing :: Talos, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: k0scist, Assigned: jyeo)

Details

Attachments

(1 file)

currently talos.run_tests.browserInfo uses a crazy bunch of regexes in an if-else tree to read a .ini file. This is silly. We can just use ConfigParser.
Whiteboard: [good first bug]
Whiteboard: [good first bug] → [good first bug][mentor=jhammel][lang=py]
Attached patch 721918.patch — — Splinter Review
Hi, I have a patch to replace those nasty regexes. Let me know if I am doing it correctly.
Attachment #596132 - Flags: review?(jhammel)
Assignee: nobody → jasonyeo88
Comment on attachment 596132 [details] [diff] [review] 721918.patch Review of attachment 596132 [details] [diff] [review]: ----------------------------------------------------------------- I like this a lot, simple fix;
Attachment #596132 - Flags: feedback+
Comment on attachment 596132 [details] [diff] [review] 721918.patch looks good to me! thanks!
Attachment #596132 - Flags: review?(jhammel) → review+
Whiteboard: [good first bug][mentor=jhammel][lang=py] → [good first bug][mentor=jhammel][lang=py][talos-checkin-needed]
Try run for d8fd8d4cfed6 is complete. Detailed breakdown of the results available here: https://tbpl.mozilla.org/?tree=Try&rev=d8fd8d4cfed6 Results (out of 73 total builds): success: 73 Builds (or logs if builds failed) available at: http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/jhammel@mozilla.com-d8fd8d4cfed6
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [good first bug][mentor=jhammel][lang=py][talos-checkin-needed]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: