~launchpad-pqm/launchpad/devel

7675.1090.1 by Jeroen Vermeulen
Ported diff from previous, screwed-up branch (which mixed db-devel and devel).
1
#!/usr/bin/python -S
2
#
3
# Copyright 2011 Canonical Ltd.  This software is licensed under the
4
# GNU Affero General Public License version 3 (see the file LICENSE).
5
7675.1090.15 by Jeroen Vermeulen
Somre review changes.
6
"""Master distro publishing script."""
7675.1090.1 by Jeroen Vermeulen
Ported diff from previous, screwed-up branch (which mixed db-devel and devel).
7
8
import _pythonpath
9
7675.1090.17 by Jeroen Vermeulen
More review changes.
10
from lp.archivepublisher.scripts.publish_ftpmaster import PublishFTPMaster
7675.1090.1 by Jeroen Vermeulen
Ported diff from previous, screwed-up branch (which mixed db-devel and devel).
11
12
13
if __name__ == '__main__':
14
    script = PublishFTPMaster(
7675.1121.20 by Stuart Bishop
archivepublisher scripts to dedicated user
15
        "publish-ftpmaster", 'publish_ftpmaster')
7675.1090.1 by Jeroen Vermeulen
Ported diff from previous, screwed-up branch (which mixed db-devel and devel).
16
    script.lock_and_run()