~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to database/replication/generate_migration.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:
10
10
__metaclass__ = type
11
11
__all__ = []
12
12
 
 
13
import _pythonpath
 
14
 
13
15
from optparse import OptionParser
14
16
import os.path
15
17
from textwrap import dedent
16
18
 
17
 
import _pythonpath
 
19
from lp.services import scripts
 
20
from lp.services.database.sqlbase import connect
18
21
import replication.helpers
19
22
from replication.helpers import (
20
23
    LPMAIN_SET_ID,
24
27
    get_master_node,
25
28
    )
26
29
 
27
 
from canonical.database.sqlbase import connect
28
 
from lp.services import scripts
29
 
 
30
30
 
31
31
con = None
32
32
options = None