10637.3.1
by Guilherme Salgado
Use the default python version instead of a hard-coded version |
1 |
#!/usr/bin/python -S
|
8687.15.7
by Karl Fogel
Add the copyright header block to more 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 |
||
4935.3.7
by Curtis Hovey
Added bad name suppression to cronscripts. |
6 |
# pylint: disable-msg=C0103,W0403
|
7 |
||
1102
by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs |
8 |
"""
|
9 |
Cron job to run daily to check all of the BugWatches
|
|
10 |
"""
|
|
11 |
||
2125
by Canonical.com Patch Queue Manager
[r=bjornt] Cronscript refactorings |
12 |
import _pythonpath |
1752
by Canonical.com Patch Queue Manager
[r=jamesh] Ensure checkwatches.py does locking and some updates to current standards. |
13 |
|
14612.2.8
by William Grant
cronscripts |
14 |
from lp.bugs.scripts.checkwatches import CheckWatchesCronScript |
14605.1.1
by Curtis Hovey
Moved canonical.config to lp.services. |
15 |
from lp.services.config import config |
14612.2.8
by William Grant
cronscripts |
16 |
|
5573.1.2
by Gavin Panella
Stop caching the copy_to_zlog configuration parameter in ErrorReportingUtility. |
17 |
|
1102
by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs |
18 |
if __name__ == '__main__': |
9638.4.1
by Graham Binns
Moved the checkwatches LaunchpadCronScript class into lp.bugs.scripts.checkwatches. |
19 |
script = CheckWatchesCronScript( |
20 |
"checkwatches", dbuser=config.checkwatches.dbuser) |
|
10512.4.10
by Gavin Panella
Go back to ISOLATION_LEVEL_SERIALIZABLE in checkwatches. |
21 |
script.lock_and_run() |