~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/browser/karma.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
__metaclass__ = type
14
14
from zope.component import getUtility
15
15
 
16
16
from lp import _
 
17
from lp.app.browser.launchpadform import (
 
18
    action,
 
19
    LaunchpadEditFormView,
 
20
    )
17
21
from lp.registry.interfaces.distribution import IDistribution
18
22
from lp.registry.interfaces.karma import (
19
23
    IKarmaAction,
23
27
from lp.registry.interfaces.projectgroup import IProjectGroup
24
28
from lp.services.propertycache import cachedproperty
25
29
from lp.services.webapp import (
26
 
    action,
27
30
    canonical_url,
28
 
    LaunchpadEditFormView,
29
 
    LaunchpadView,
30
31
    Navigation,
31
32
    )
 
33
from lp.services.webapp.publisher import LaunchpadView
32
34
 
33
35
 
34
36
TOP_CONTRIBUTORS_LIMIT = 20