Merge lp:~sil2100/langpack-o-matic/domains_as_lists into lp:langpack-o-matic
Proposed by
Łukasz Zemczak
on 2016-04-11
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Merged at revision: | 560 | ||||
| Proposed branch: | lp:~sil2100/langpack-o-matic/domains_as_lists | ||||
| Merge into: | lp:langpack-o-matic | ||||
| Diff against target: |
31 lines (+5/-5) 1 file modified
import (+5/-5) |
||||
| To merge this branch: | bzr merge lp:~sil2100/langpack-o-matic/domains_as_lists | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Ubuntu language pack builders | 2016-04-11 | Pending | |
|
Review via email:
|
|||
Commit Message
Mapping files can have multiple entries for one domain - tread each entry as a list.
Description of the Change
Mapping files can have multiple entries for one domain - tread each entry as a list.
Had to switch off from the KeyError route as we're using a defaultdict now. Tested this locally and it seemed to work properly this time.
To post a comment you must log in.
| Martin Pitt (pitti) wrote : | # |
lp:~sil2100/langpack-o-matic/domains_as_lists
updated
on 2016-04-11
- 561. By Łukasz Zemczak on 2016-04-11
-
As per pitti's request, do not use collections defaultdict, rename pkg_domain to pkg_domains.
| Łukasz Zemczak (sil2100) wrote : | # |
Tests are passing. Merging this, thanks!

Looks mostly good to me, except for a stylistic issue (see inline comment). If that passes the tests (tests/run), please go ahead.