~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to scripts/branch-rewrite.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:
17
17
import os
18
18
import sys
19
19
 
20
 
from canonical.database.sqlbase import ISOLATION_LEVEL_AUTOCOMMIT
21
20
from canonical.config import config
22
21
from canonical.launchpad.interfaces.lpstorm import ISlaveStore
23
22
from lp.code.model.branch import Branch
79
78
 
80
79
if __name__ == '__main__':
81
80
    BranchRewriteScript("branch-rewrite", dbuser='branch-rewrite').run(
82
 
        isolation=ISOLATION_LEVEL_AUTOCOMMIT)
 
81
        isolation='autocommit')