~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to database/replication/new-slave.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:
8
8
__metaclass__ = type
9
9
__all__ = []
10
10
 
 
11
import _pythonpath
 
12
 
11
13
from optparse import OptionParser
12
14
import subprocess
13
15
import sys
14
16
from textwrap import dedent
15
17
import time
16
18
 
17
 
import _pythonpath
18
19
import psycopg2
19
 
import replication.helpers
20
 
from replication.helpers import LPMAIN_SET_ID
21
20
 
22
21
from lp.services.database.postgresql import ConnectionString
23
22
from lp.services.database.sqlbase import (
29
28
    logger,
30
29
    logger_options,
31
30
    )
 
31
import replication.helpers
 
32
from replication.helpers import LPMAIN_SET_ID
32
33
 
33
34
 
34
35
def main():