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).
|
|
5 |
||
8537.5.1
by Celso Providelo
PPA helper script prototype. |
6 |
# pylint: disable-msg=W0403
|
7 |
import _pythonpath |
|
8 |
||
8537.5.3
by Celso Providelo
Splitting the script class. |
9 |
from lp.soyuz.scripts.ppareport import PPAReportScript |
8537.5.1
by Celso Providelo
PPA helper script prototype. |
10 |
|
11 |
||
12 |
if __name__ == '__main__': |
|
8537.5.3
by Celso Providelo
Splitting the script class. |
13 |
script = PPAReportScript('ppareport', dbuser='ro') |
8537.5.1
by Celso Providelo
PPA helper script prototype. |
14 |
script.run() |