~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to database/replication/preamble.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:
28
28
        parser.error("Too many arguments")
29
29
    scripts.execute_zcml_for_scripts(use_web_security=False)
30
30
 
31
 
    con = connect(options.dbuser)
 
31
    con = connect()
32
32
    print '# slonik(1) preamble generated %s' % time.ctime()
33
33
    print '# LPCONFIG=%s' % config.instance_name
34
34
    print