~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
#
3
# Copyright 2009 Canonical Ltd.  This software is licensed under the
4
# GNU Affero General Public License version 3 (see the file LICENSE).
5955.1.1 by Julian Edwards
Speed up manage-chroot.txt doctest from 62 seconds to 8 seconds.
5
6
# Stop lint warning about relative import:
7
# pylint: disable-msg=W0403
8
9
"""Tool for adding, removing and replacing buildd chroots."""
2865.2.70 by Daniel Silverstone
Chroot management tool from mdz. r=kiko
10
3048.6.4 by Daniel Silverstone
Fix manage-chroot to connect as fiera
11
import _pythonpath
5955.1.1 by Julian Edwards
Speed up manage-chroot.txt doctest from 62 seconds to 8 seconds.
12
8303.14.13 by Julian Edwards
Fix some more circular imports and other bad import lines.
13
from lp.soyuz.scripts.ftpmaster import ManageChrootScript
3023.5.3 by Christian Reis
Updated version of manage-chroot; fixes the 'update' command. Original patch by Matt Zimmerman <mdz@canonical.com>
14
3496.1.65 by Celso Providelo
Fix bug #52863 (missing features for manage-chroot tool)
15
2865.2.70 by Daniel Silverstone
Chroot management tool from mdz. r=kiko
16
if __name__ == '__main__':
5955.1.1 by Julian Edwards
Speed up manage-chroot.txt doctest from 62 seconds to 8 seconds.
17
    script = ManageChrootScript('mangage-chroot', dbuser="fiera")
18
    script.lock_and_run()
19