~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/translations/browser/potemplate.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-2010 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
# pylint: disable-msg=F0401
4
4
 
43
43
from zope.security.proxy import removeSecurityProxy
44
44
 
45
45
from lp import _
46
 
from lp.app.browser.launchpadform import ReturnToReferrerMixin
 
46
from lp.app.browser.launchpadform import (
 
47
    action,
 
48
    LaunchpadEditFormView,
 
49
    ReturnToReferrerMixin,
 
50
    )
47
51
from lp.app.browser.tales import DateTimeFormatterAPI
48
52
from lp.app.enums import (
49
53
    service_uses_launchpad,
62
66
from lp.registry.model.sourcepackagename import SourcePackageName
63
67
from lp.services.helpers import is_tar_filename
64
68
from lp.services.webapp import (
65
 
    action,
66
69
    canonical_url,
67
70
    enabled_with_permission,
68
71
    GetitemNavigation,
69
 
    LaunchpadEditFormView,
70
 
    LaunchpadView,
71
72
    Link,
72
73
    Navigation,
73
74
    NavigationMenu,
80
81
    ILaunchBag,
81
82
    )
82
83
from lp.services.webapp.menu import structured
 
84
from lp.services.webapp.publisher import LaunchpadView
83
85
from lp.services.worlddata.interfaces.language import ILanguageSet
84
86
from lp.translations.browser.poexportrequest import BaseExportView
85
87
from lp.translations.browser.translations import TranslationsMixin