~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to database/replication/initialize.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-31 00:16:50 UTC
  • mfrom: (14606.3.7 apocaremains)
  • Revision ID: launchpad@pqm.canonical.com-20111231001650-pjeyhfjhm6mg3yp8
[r=wgrant][no-qa] Merge canonical.database into lp.services.database.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
a replicated setup.
10
10
"""
11
11
 
 
12
import _pythonpath
 
13
 
12
14
from optparse import OptionParser
13
15
import subprocess
14
16
import sys
15
17
 
16
 
import _pythonpath
17
18
import helpers
18
19
 
19
20
from lp.services.config import config
20
 
from canonical.database.postgresql import (
 
21
from lp.services.database.postgresql import (
21
22
    all_sequences_in_schema,
22
23
    all_tables_in_schema,
23
24
    ConnectionString,
24
25
    )
25
 
from canonical.database.sqlbase import (
 
26
from lp.services.database.sqlbase import (
26
27
    connect,
27
28
    ISOLATION_LEVEL_AUTOCOMMIT,
28
29
    )