~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/translations/browser/distroseries.py

  • Committer: Curtis Hovey
  • Date: 2011-12-29 05:29:36 UTC
  • mto: This revision was merged to the branch mainline in revision 14606.
  • Revision ID: curtis.hovey@canonical.com-20111229052936-c261pibg1p6ze6m4
Moved canonical.config to lp.services.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright 2009-2012 Canonical Ltd.  This software is licensed under the
 
1
# Copyright 2009 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 view classes related to `IDistroSeries`."""
16
16
 
17
17
from zope.component import getUtility
18
18
 
19
 
from lp.app.enums import service_uses_launchpad
20
 
from lp.app.errors import TranslationUnavailable
21
 
from lp.registry.interfaces.distroseries import IDistroSeries
22
 
from lp.registry.interfaces.series import SeriesStatus
23
 
from lp.services.propertycache import cachedproperty
 
19
from lp.services.webapp import action
24
20
from lp.services.webapp.authorization import check_permission
25
 
from lp.app.browser.launchpadform import (
26
 
    action,
27
 
    LaunchpadEditFormView,
28
 
    )
 
21
from lp.services.webapp.launchpadform import LaunchpadEditFormView
29
22
from lp.services.webapp.menu import (
30
23
    enabled_with_permission,
31
24
    Link,
35
28
    canonical_url,
36
29
    LaunchpadView,
37
30
    )
 
31
from lp.app.enums import service_uses_launchpad
 
32
from lp.app.errors import TranslationUnavailable
 
33
from lp.registry.interfaces.distroseries import IDistroSeries
 
34
from lp.registry.interfaces.series import SeriesStatus
 
35
from lp.services.propertycache import cachedproperty
38
36
from lp.translations.browser.potemplate import BaseSeriesTemplatesView
39
37
from lp.translations.browser.translations import TranslationsMixin
40
38
from lp.translations.interfaces.distroserieslanguage import (