~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to scripts/close-account.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:
188
188
    con = None
189
189
    try:
190
190
        log.debug("Connecting to database")
191
 
        con = connect(options.dbuser)
 
191
        con = connect()
192
192
        for username in args:
193
193
            if not close_account(con, log, username):
194
194
                log.debug("Rolling back")