~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/canonical/database/sqlbase.py

[r=bac][bug=835024] New error_description property on
        InitializeDistroSeriesJob.

Show diffs side-by-side

added added

removed removed

Lines of Context:
808
808
    # directly.
809
809
    from canonical.database.postgresql import ConnectionString
810
810
    con_str = ConnectionString(dbconfig.rw_main_master)
811
 
    assert con_str.user is None, (
812
 
        'Connection string already contains username')
813
811
    if user is not None:
814
812
        con_str.user = user
815
813
    if lp.dbhost is not None: