~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to database/replication/new-slave.py

  • Committer: Curtis Hovey
  • Date: 2011-12-28 17:03:06 UTC
  • mto: This revision was merged to the branch mainline in revision 14605.
  • Revision ID: curtis.hovey@canonical.com-20111228170306-n9fz94h85ckaoaf3
Separate test-authoring classes from test-running classes.

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
 
 
13
11
from optparse import OptionParser
14
12
import subprocess
15
13
import sys
16
14
from textwrap import dedent
17
15
import time
18
16
 
 
17
import _pythonpath
19
18
import psycopg2
 
19
import replication.helpers
 
20
from replication.helpers import LPMAIN_SET_ID
20
21
 
21
 
from lp.services.database.postgresql import ConnectionString
22
 
from lp.services.database.sqlbase import (
 
22
from canonical.database.postgresql import ConnectionString
 
23
from canonical.database.sqlbase import (
23
24
    connect_string,
24
25
    ISOLATION_LEVEL_AUTOCOMMIT,
25
26
    )
28
29
    logger,
29
30
    logger_options,
30
31
    )
31
 
import replication.helpers
32
 
from replication.helpers import LPMAIN_SET_ID
33
32
 
34
33
 
35
34
def main():