~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-09-13 08:44:05 UTC
  • mfrom: (7675.1045.788 db-devel)
  • Revision ID: launchpad@pqm.canonical.com-20110913084405-t6b62nt98rcmp6wg
Merging db-stable at revno 10971

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
 
45
45
    # Confirm we can connect to the source database.
46
46
    # Keep the connection as we need it later.
47
 
    source_connection_string = ConnectionString(connect_string('slony'))
 
47
    source_connection_string = ConnectionString(connect_string(user='slony'))
48
48
    try:
49
49
        log.debug(
50
50
            "Opening source connection to '%s'" % source_connection_string)