~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to database/schema/reset_sequences.py

  • Committer: William Grant
  • Date: 2011-12-30 06:47:17 UTC
  • mto: This revision was merged to the branch mainline in revision 14610.
  • Revision ID: william.grant@canonical.com-20111230064717-n5re5t6we5w8o17z
Replace canonical.database usage everywhere, and format-imports.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
import _pythonpath
19
19
 
20
20
from optparse import OptionParser
21
 
from canonical.database.postgresql import resetSequences
22
 
from canonical.database.sqlbase import connect
 
21
 
 
22
from lp.services.database.postgresql import resetSequences
 
23
from lp.services.database.sqlbase import connect
23
24
from lp.services.scripts import db_options
24
25
 
 
26
 
25
27
if __name__ == '__main__':
26
28
    parser = OptionParser()
27
29
    db_options(parser)