~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-05 17:55:51 UTC
  • mfrom: (14621.1.5 xss_911632)
  • Revision ID: launchpad@pqm.canonical.com-20120105175551-lkx2ex99ttmy2n07
[r=abentley][bug=911632] Fix template to escape output of no branch
        message.

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
__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
 
    )
21
17
from lp.registry.interfaces.distribution import IDistribution
22
18
from lp.registry.interfaces.karma import (
23
19
    IKarmaAction,
27
23
from lp.registry.interfaces.projectgroup import IProjectGroup
28
24
from lp.services.propertycache import cachedproperty
29
25
from lp.services.webapp import (
 
26
    action,
30
27
    canonical_url,
 
28
    LaunchpadEditFormView,
 
29
    LaunchpadView,
31
30
    Navigation,
32
31
    )
33
 
from lp.services.webapp.publisher import LaunchpadView
34
32
 
35
33
 
36
34
TOP_CONTRIBUTORS_LIMIT = 20