~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to database/replication/slon_ctl.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:
9
9
/etc/init.d/slony1 script instead of this tool.
10
10
"""
11
11
 
 
12
import _pythonpath
 
13
 
12
14
from optparse import OptionParser
13
15
import os.path
14
16
import subprocess
15
17
import sys
16
18
 
17
 
import _pythonpath
18
 
import replication.helpers
19
 
 
20
19
from lp.services.config import config
21
20
from lp.services.database.sqlbase import connect
22
21
from lp.services.scripts import (
23
22
    logger,
24
23
    logger_options,
25
24
    )
 
25
import replication.helpers
26
26
 
27
27
 
28
28
__metaclass__ = type