~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to cronscripts/publish-ftpmaster.py

  • Committer: William Grant
  • Date: 2011-07-09 00:28:26 UTC
  • mto: This revision was merged to the branch mainline in revision 13399.
  • Revision ID: william.grant@canonical.com-20110709002826-c13z06b8k4x2cnr3
Revert reversion of r13370.

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.publish_ftpmaster import PublishFTPMaster
11
12
 
12
13
 
13
14
if __name__ == '__main__':
14
15
    script = PublishFTPMaster(
15
 
        "publish-ftpmaster", 'publish_ftpmaster')
 
16
        "publish-ftpmaster", dbuser=config.archivepublisher.dbuser)
16
17
    script.lock_and_run()