~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
4687.5.18 by Celso Providelo
more review comments, r=salgado.
10
from canonical.config import config
13458.1.1 by Jeroen Vermeulen
Convert publishdistro to a LaunchpadCronScript.
11
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.
12
13
5596.2.1 by Julian Edwards
Make test_publishdistro quicker. Also add --private-ppa option to publish-distro.py
14
if __name__ == "__main__":
13458.1.1 by Jeroen Vermeulen
Convert publishdistro to a LaunchpadCronScript.
15
    script = PublishDistro(dbuser=config.archivepublisher.dbuser)
13607.3.3 by Jeroen Vermeulen
Make publishing scripts share a single lock file for a system.
16
    script.lock_and_run()