~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to database/schema/security.py

  • Committer: William Grant
  • Date: 2011-09-06 05:00:26 UTC
  • mto: (7675.1045.785 db-devel)
  • mto: This revision was merged to the branch mainline in revision 13935.
  • Revision ID: william.grant@canonical.com-20110906050026-328yit8bhb1fsatk
Drop now-obsolete connect(user) args.

Show diffs side-by-side

added added

removed removed

Lines of Context:
158
158
    configfile_name = os.path.join(os.path.dirname(__file__), 'security.cfg')
159
159
    config.read([configfile_name])
160
160
 
161
 
    con = connect(options.dbuser)
 
161
    con = connect()
162
162
 
163
163
    if options.cluster:
164
164
        nodes = replication.helpers.get_nodes(con, 1)