~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to utilities/report-database-stats.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:
252
252
        parser.error(
253
253
            "Only two of --from, --until and --interval may be specified.")
254
254
 
255
 
    con = connect(options.dbuser)
 
255
    con = connect()
256
256
    cur = con.cursor()
257
257
 
258
258
    tables = list(get_table_stats(cur, options))