Merge lp:~sinzui/launchpad/import-person into lp:launchpad
Proposed by
Curtis Hovey
Status: | Merged |
---|---|
Approved by: | Aaron Bentley |
Approved revision: | no longer in the source branch. |
Merged at revision: | not available |
Proposed branch: | lp:~sinzui/launchpad/import-person |
Merge into: | lp:launchpad |
Diff against target: |
234 lines 4 files modified
lib/canonical/launchpad/database/__init__.py (+0/-2) lib/canonical/launchpad/doc/hwdb-device-tables.txt (+1/-1) lib/canonical/launchpad/zcml/hwdb.zcml (+23/-23) lib/canonical/launchpad/zcml/launchpadstatistic.zcml (+3/-3) |
To merge this branch: | bzr merge lp:~sinzui/launchpad/import-person |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Aaron Bentley (community) | Approve | ||
Review via email: mp+12060@code.launchpad.net |
To post a comment you must log in.
This is my branch to fix imports.
lp:~sinzui/launchpad/import-person /bugs.launchpad .net/bugs/ import- person implementation: no one. I fixed it as I was triaging the bug
Diff size: 45
Launchpad bug: https:/
Test command: ./bin/py -c 'from lp.registry.model
Pre-
Target release: 3.1.0
= Fix imports =
./bin/py -c 'from lp.registry.model import person' fails due to circular import
== Rules ==
While trying to understand the scope of the bug I realised the problem was
in one of the unmigrated apps. After I fixed it, I searched for and fixed
all the locations that imported from database.
== Lint ==
Linting changed files: /launchpad/ database/ __init_ _.py /launchpad/ doc/hwdb- device- tables. txt /launchpad/ zcml/launchpads tatistic. zcml
lib/canonical
lib/canonical
lib/canonical
== Test ==
* lib/canonical/ launchpad/ doc/hwdb- device- tables. txt
* Fixed the import in the test.
== Implementation ==
* lib/canonical/ launchpad/ database/ __init_ _.py launchpad/ zcml/launchpads tatistic. zcml
* Removed the unneeded import
* lib/canonical/
* Fixed the import in ZCML.