14434.2.2
by Colin Watson
Reimplement most of cron.germinate in Python using the new python-germinate |
1 |
#!/usr/bin/python -S
|
2 |
#
|
|
3 |
# Copyright 2011 Canonical Ltd. This software is licensed under the
|
|
4 |
# GNU Affero General Public License version 3 (see the file LICENSE).
|
|
5 |
||
6 |
"""Generate extra overrides using Germinate."""
|
|
7 |
||
8 |
import _pythonpath |
|
9 |
||
10 |
from lp.archivepublisher.scripts.generate_extra_overrides import ( |
|
11 |
GenerateExtraOverrides, |
|
12 |
)
|
|
13 |
||
14 |
||
15 |
if __name__ == '__main__': |
|
16 |
script = GenerateExtraOverrides( |
|
17 |
"generate-extra-overrides", dbuser='generate_extra_overrides') |
|
18 |
script.lock_and_run() |