~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/browser/driver.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2012-01-06 01:31:44 UTC
  • mfrom: (14642.1.9 remove-shims-0)
  • Revision ID: launchpad@pqm.canonical.com-20120106013144-s9hq77q6vjp5qx1v
[rs=sinzui][bug=911969] remove the webapp.launchpadform shim,
 and webapp launchpadform globs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright 2009 Canonical Ltd.  This software is licensed under the
 
1
# Copyright 2009-2012 Canonical Ltd.  This software is licensed under the
2
2
# GNU Affero General Public License version 3 (see the file LICENSE).
3
3
 
4
4
"""Browser view class for drivers."""
9
9
from zope.interface import providedBy
10
10
from zope.security.proxy import removeSecurityProxy
11
11
 
12
 
from lp.registry.interfaces.productseries import IProductSeries
13
 
from lp.registry.interfaces.role import IHasAppointedDriver
14
 
from lp.services.webapp import (
 
12
from lp.app.browser.launchpadform import (
15
13
    action,
16
 
    canonical_url,
17
14
    LaunchpadEditFormView,
18
15
    )
19
16
 
 
17
from lp.registry.interfaces.productseries import IProductSeries
 
18
from lp.registry.interfaces.role import IHasAppointedDriver
 
19
from lp.services.webapp.publisher import canonical_url
 
20
 
20
21
 
21
22
class AppointDriverView(LaunchpadEditFormView):
22
23
    """Browser view for appointing a driver to an object."""