~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to scripts/process-accepted.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 pylint complaining about the _pythonpath relative import.
15
15
 
16
16
import _pythonpath
17
17
 
18
 
from canonical.config import config
19
18
from canonical.database.sqlbase import ISOLATION_LEVEL_READ_COMMITTED
20
19
from lp.soyuz.scripts.processaccepted import ProcessAccepted
21
20
 
24
23
    script = ProcessAccepted(
25
24
        "process-accepted", dbuser='process_accepted')
26
25
    script.lock_and_run(isolation=ISOLATION_LEVEL_READ_COMMITTED)
27