~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to database/replication/repair-restored-db.py

  • Committer: William Grant
  • Date: 2011-12-30 06:47:54 UTC
  • mto: This revision was merged to the branch mainline in revision 14610.
  • Revision ID: william.grant@canonical.com-20111230064754-qntgf81lh1ideoa2
Reformat

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
__metaclass__ = type
19
19
__all__ = []
20
20
 
 
21
import _pythonpath
 
22
 
21
23
from optparse import OptionParser
22
24
import sys
23
25
 
24
 
import _pythonpath
25
26
import psycopg2
26
 
import replication.helpers
27
27
 
28
28
from lp.services.config import config
29
29
from lp.services.database.postgresql import ConnectionString
37
37
    logger,
38
38
    logger_options,
39
39
    )
 
40
import replication.helpers
40
41
 
41
42
 
42
43
def main():