~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to database/replication/helpers.py

[r=stub][bug=842304] Make canonical.database.sqlbase.connect()'s user
        argument optional; the default is usually sane now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
320
320
    """Return the preable needed at the start of all slonik scripts."""
321
321
 
322
322
    if con is None:
323
 
        con = connect('slony')
 
323
        con = connect(user='slony')
324
324
 
325
325
    master_node = get_master_node(con)
326
326
    nodes = get_all_cluster_nodes(con)