Merge lp:~mwhudson/launchpad/disable-vostok-when-not-configured into lp:launchpad
Proposed by
Michael Hudson-Doyle
Status: | Merged |
---|---|
Approved by: | Paul Hummer |
Approved revision: | no longer in the source branch. |
Merged at revision: | 11307 |
Proposed branch: | lp:~mwhudson/launchpad/disable-vostok-when-not-configured |
Merge into: | lp:launchpad |
Diff against target: |
35 lines (+14/-4) 1 file modified
lib/canonical/launchpad/webapp/metazcml.py (+14/-4) |
To merge this branch: | bzr merge lp:~mwhudson/launchpad/disable-vostok-when-not-configured |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paul Hummer (community) | code | Approve | |
Review via email: mp+31901@code.launchpad.net |
Commit message
make the publisher zcml directive do nothing if there is no corresponding config.vhost.$name section in the config
Description of the change
See the linked bug report, basically.
This uses the name in the publisher zcml directive to check if the factory should be registered. This works great for everything apart from shipit, so I special cased that.
Cheers,
mwh
To post a comment you must log in.