~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to scripts/librarian-report.py

  • Committer: Julian Edwards
  • Date: 2011-07-28 20:46:18 UTC
  • mfrom: (13553 devel)
  • mto: This revision was merged to the branch mainline in revision 13555.
  • Revision ID: julian.edwards@canonical.com-20110728204618-tivj2wx2oa9s32bx
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
from canonical.database.sqlbase import connect, quoteIdentifier, sqlvalues
17
17
from canonical.database.postgresql import listReferences
18
 
from lp.services.scripts import db_options
 
18
from canonical.launchpad.scripts import db_options
19
19
 
20
20
 
21
21
def main():
48
48
    else:
49
49
        until_date = ''
50
50
 
51
 
    con = connect()
 
51
    con = connect(options.dbuser)
52
52
    cur = con.cursor()
53
53
 
54
54
    # Collect direct references to the LibraryFileAlias table.