Merge lp:~jtv/launchpad/bug-503769 into lp:launchpad
Proposed by
Jeroen T. Vermeulen
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Jeroen T. Vermeulen | ||||
Approved revision: | not available | ||||
Merged at revision: | not available | ||||
Proposed branch: | lp:~jtv/launchpad/bug-503769 | ||||
Merge into: | lp:launchpad | ||||
Diff against target: |
59 lines (+10/-3) 3 files modified
lib/lp/registry/model/product.py (+3/-1) lib/lp/translations/scripts/po_import.py (+3/-1) lib/lp/translations/scripts/translations_to_branch.py (+4/-1) |
||||
To merge this branch: | bzr merge lp:~jtv/launchpad/bug-503769 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Abel Deuring (community) | code | Approve | |
Review via email: mp+16966@code.launchpad.net |
Commit message
Fix Translations import policy violations.
To post a comment you must log in.
= Bug 503769 =
When running ./bin/test, even with a pattern that matches zero tests, we now get a long list of import policy violations throughout the codebase. A few are related to Translations code; this branch fixes those.
No lint. To test, try that-does- not-exist
{{{
./bin/test -vv -t a-test-
}}}
This will still warn about policy violations, but several will be gone: ortQueue from lp.translations .model. translationimpo rtqueue: registry. model.product translations. scripts. po_import translations. scripts. translations_ to_branch
{{{
You should not import ITranslationImp
lp.
You should not import UTC from pytz:
lp.
lp.
}}}
(Look for these very near the end of the list of warnings).
Jeroen