Merge lp:~jtv/launchpad/xpi-dtd-parser into lp:launchpad
Proposed by
Jeroen T. Vermeulen
Status: | Merged |
---|---|
Approved by: | Jeroen T. Vermeulen |
Approved revision: | no longer in the source branch. |
Merged at revision: | 11173 |
Proposed branch: | lp:~jtv/launchpad/xpi-dtd-parser |
Merge into: | lp:launchpad |
Diff against target: |
370 lines (+152/-134) 5 files modified
lib/lp/translations/scripts/validate_translations_file.py (+2/-1) lib/lp/translations/utilities/gettext_po_importer.py (+4/-4) lib/lp/translations/utilities/mozilla_dtd_parser.py (+144/-0) lib/lp/translations/utilities/mozilla_xpi_importer.py (+1/-128) lib/lp/translations/utilities/tests/test_xpi_dtd_format.py (+1/-1) |
To merge this branch: | bzr merge lp:~jtv/launchpad/xpi-dtd-parser |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Leonard Richardson (community) | Approve | ||
Launchpad code reviewers | code | Pending | |
Review via email: mp+30383@code.launchpad.net |
Commit message
Extract XPI DTD parser.
Description of the change
= DTD Parser =
This extracts the code for parsing an XPI DTD file into a file of its own. It's just cleaner for now, but it also looks like we'll want to build a full-blown importer around this parser later.
To test:
{{{
./bin/test -vvc -m lp.translations -t dtd
}}}
Jeroen
To post a comment you must log in.
+1