~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to cronscripts/generate-contents-files.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:
7
7
 
8
8
import _pythonpath
9
9
 
 
10
from canonical.config import config
10
11
from lp.archivepublisher.scripts.generate_contents_files import (
11
12
    GenerateContentsFiles,
12
13
    )
14
15
 
15
16
if __name__ == '__main__':
16
17
    script = GenerateContentsFiles(
17
 
        "generate-contents", dbuser='generate_contents_files')
 
18
        "generate-contents", dbuser=config.archivepublisher.dbuser)
18
19
    script.lock_and_run()