~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to scripts/process-death-row.py

  • Committer: Stuart Bishop
  • Date: 2011-09-22 09:47:13 UTC
  • mto: This revision was merged to the branch mainline in revision 14013.
  • Revision ID: stuart.bishop@canonical.com-20110922094713-aqdrec8kpyyaiofr
delint

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/python -S
2
2
#
3
 
# Copyright 2009 Canonical Ltd.  This software is licensed under the
 
3
# Copyright 2009-2011 Canonical Ltd.  This software is licensed under the
4
4
# GNU Affero General Public License version 3 (see the file LICENSE).
5
5
 
6
6
# Stop lint warning about relative import:
31
31
# freaking world.
32
32
import canonical.launchpad.interfaces
33
33
 
34
 
from canonical.config import config
35
34
from lp.soyuz.scripts.processdeathrow import DeathRowProcessor
36
35
 
37
36
 
39
38
    script = DeathRowProcessor(
40
39
        'process-death-row', dbuser='process_death_row')
41
40
    script.lock_and_run()
42