Merge lp:~danilo/launchpad/invalid-messages into lp:~launchpad/launchpad/recife
| Status: | Merged |
|---|---|
| Approved by: | Aaron Bentley on 2010-11-18 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 9202 |
| Proposed branch: | lp:~danilo/launchpad/invalid-messages |
| Merge into: | lp:~launchpad/launchpad/recife |
| Diff against target: |
192 lines (+0/-99) 6 files modified
lib/lp/translations/doc/pofile.txt (+0/-3) lib/lp/translations/doc/poimport.txt (+0/-15) lib/lp/translations/interfaces/pofile.py (+0/-3) lib/lp/translations/model/pofile.py (+0/-19) lib/lp/translations/tests/test_pofile.py (+0/-52) lib/lp/translations/utilities/translation_import.py (+0/-7) |
| To merge this branch: | bzr merge lp:~danilo/launchpad/invalid-messages |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Aaron Bentley (community) | 2010-11-18 | Approve on 2010-11-18 | |
|
Review via email:
|
|||
Description of the Change
= Get rid of getPOTMsgSetWit
This branch initially started as an effort to port it to the new data
model we are introducing in our integration branch (branch this is
proposed for merge to).
However, it turned out that this method is not used anywhere except in
tests, so I decided to do a better thing: get rid of altogether.
There was one mention of a work-around in the code in the integration
branch as-is due to this method not being ported, but I just removed the
work-around and the tests for getPOTMsgSetWit
good (ran the full translations test suite).
Lint reports a few issues that I am not touching right now because
they'd mean serious refactoring of doc/pofile.txt test (it uses long
string comparisons over multiple lines, and lint complains if a single
string goes over 78 characters, regardless of whether it's on a single
line: no lines go over 78 though).
== Tests ==
Basically, all translation tests:
bin/test -m lp.translations

Hard to find style errors with the removal of code :-)