~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-10-03 15:22:48 UTC
  • mfrom: (8758.4.18 garbo-lockfile)
  • Revision ID: launchpad@pqm.canonical.com-20111003152248-cv30fo2i8p0mu5mb
[r=lifeless][bug=553254] Regularly prune LoginToken rows

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
from lp.bugs.interfaces.bugtarget import IHasBugHeat
99
99
from lp.bugs.interfaces.bugtask import (
100
100
    BugTaskStatus,
101
 
    DB_UNRESOLVED_BUGTASK_STATUSES,
 
101
    UNRESOLVED_BUGTASK_STATUSES,
102
102
    )
103
103
from lp.bugs.interfaces.bugtaskfilter import OrderedBugTask
104
104
from lp.bugs.model.bug import (
1557
1557
               'triaged': quote(BugTaskStatus.TRIAGED),
1558
1558
               'limit': limit,
1559
1559
               'distro': self.id,
1560
 
               'unresolved': quote(DB_UNRESOLVED_BUGTASK_STATUSES),
 
1560
               'unresolved': quote(UNRESOLVED_BUGTASK_STATUSES),
1561
1561
               'excluded_packages': quote(exclude_packages),
1562
1562
                })
1563
1563
        counts = cur.fetchall()