~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/model/karma.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-15 10:35:32 UTC
  • mfrom: (14517.1.3 new-bzr)
  • Revision ID: launchpad@pqm.canonical.com-20111215103532-q2m4uyk0r8ugiayx
[r=sinzui, poolie][bug=509016] Always load foreign plugins,
 but restrict probers to avoid accidentally opening foreign branches.
 (re-land)

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
    'KarmaContextMixin',
17
17
    ]
18
18
 
 
19
from storm.expr import Desc
19
20
from sqlobject import (
20
21
    ForeignKey,
21
22
    IntCol,
24
25
    StringCol,
25
26
    )
26
27
from sqlobject.sqlbuilder import AND
27
 
from storm.expr import Desc
28
28
from zope.interface import implements
29
29
 
30
30
from canonical.database.constants import UTC_NOW
33
33
    SQLBase,
34
34
    sqlvalues,
35
35
    )
36
 
from lp.services.database.lpstorm import IStore
 
36
from canonical.launchpad.interfaces.lpstorm import IStore
37
37
from lp.app.errors import NotFoundError
38
38
from lp.registry.interfaces.distribution import IDistribution
39
39
from lp.registry.interfaces.karma import (