~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/translations/browser/distribution.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-2011 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
"""Translations browser views for distributions."""
13
13
 
14
14
import operator
15
15
 
 
16
from lp.app.browser.launchpadform import (
 
17
    action,
 
18
    LaunchpadEditFormView,
 
19
    )
16
20
from lp.app.enums import service_uses_launchpad
17
21
from lp.registry.browser import RegistryEditFormView
18
22
from lp.registry.interfaces.distribution import IDistribution
19
23
from lp.registry.interfaces.series import SeriesStatus
20
24
from lp.services.propertycache import cachedproperty
21
25
from lp.services.webapp import (
22
 
    action,
23
26
    canonical_url,
24
27
    enabled_with_permission,
25
 
    LaunchpadEditFormView,
26
 
    LaunchpadView,
27
28
    Link,
28
29
    )
29
30
from lp.services.webapp.authorization import check_permission
30
31
from lp.services.webapp.menu import NavigationMenu
 
32
from lp.services.webapp.publisher import LaunchpadView
31
33
from lp.translations.browser.translations import TranslationsMixin
32
34
 
33
35