~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to scripts/process-accepted.py

  • Committer: William Grant
  • Date: 2011-09-24 03:56:19 UTC
  • mto: This revision was merged to the branch mainline in revision 14030.
  • Revision ID: william.grant@canonical.com-20110924035619-ht8qu83op75xhdgr
LaunchpadScript no longer uses initZopeless.

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()