Example #1
0
#!/usr/bin/python -S
#
# Copyright 2009-2011 Canonical Ltd.  This software is licensed under the
# GNU Affero General Public License version 3 (see the file LICENSE).

import _pythonpath

from lp.soyuz.scripts.publishdistro import PublishDistro

if __name__ == "__main__":
    script = PublishDistro('publish-distro', dbuser='******')
    script.lock_and_run()
#!/usr/bin/python -S
#
# Copyright 2009-2011 Canonical Ltd.  This software is licensed under the
# GNU Affero General Public License version 3 (see the file LICENSE).

import _pythonpath

from lp.soyuz.scripts.publishdistro import PublishDistro


if __name__ == "__main__":
    script = PublishDistro('publish-distro', dbuser='******')
    script.lock_and_run()