~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to scripts/process-accepted.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-09-26 04:31:38 UTC
  • mfrom: (14022.3.15 death-of-ztm)
  • Revision ID: launchpad@pqm.canonical.com-20110926043138-ayaqooupc9vuifpw
[r=lifeless][bug=396419, 484033] Fear not,
        for ZopelessTransactionManager is no longer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
import _pythonpath
17
17
 
18
 
from canonical.database.sqlbase import ISOLATION_LEVEL_READ_COMMITTED
19
18
from lp.soyuz.scripts.processaccepted import ProcessAccepted
20
19
 
21
20
 
22
21
if __name__ == '__main__':
23
22
    script = ProcessAccepted(
24
23
        "process-accepted", dbuser='process_accepted')
25
 
    script.lock_and_run(isolation=ISOLATION_LEVEL_READ_COMMITTED)
 
24
    script.lock_and_run()