~launchpad-pqm/launchpad/devel

10637.3.1 by Guilherme Salgado
Use the default python version instead of a hard-coded version
1
#!/usr/bin/python -S
8687.15.22 by Karl Fogel
Add the copyright header block to the remaining .py files.
2
#
13458.1.1 by Jeroen Vermeulen
Convert publishdistro to a LaunchpadCronScript.
3
# Copyright 2009-2011 Canonical Ltd.  This software is licensed under the
8687.15.22 by Karl Fogel
Add the copyright header block to the remaining .py files.
4
# GNU Affero General Public License version 3 (see the file LICENSE).
5
5217.6.11 by Celso Providelo
Fixing bug#172275 (switching partner archive generation from NMAF to a-f).
6
# pylint: disable-msg=C0103,W0403
1932 by Canonical.com Patch Queue Manager
Merge in publishing work from soyuz sprint. r=jamesh
7
3496.1.113 by Celso Providelo
Add the ability to specify a single target suite in publish-distro script.
8
import _pythonpath
9
13458.1.1 by Jeroen Vermeulen
Convert publishdistro to a LaunchpadCronScript.
10
from lp.soyuz.scripts.publishdistro import PublishDistro
3691.93.6 by Christian Reis
Checkpoint first part of publisher refactoring: moving code from publish-distro to Publishing, seriously.
11
12
5596.2.1 by Julian Edwards
Make test_publishdistro quicker. Also add --private-ppa option to publish-distro.py
13
if __name__ == "__main__":
9893.9.13 by Stuart Bishop
publish-distro.py connects as a distinct database user and is fragile
14
    script = PublishDistro('publish-distro', dbuser='publish_distro')
13607.3.3 by Jeroen Vermeulen
Make publishing scripts share a single lock file for a system.
15
    script.lock_and_run()