~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.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
953 by Canonical.com Patch Queue Manager
Added the raw po/pot import daemon
7
2125 by Canonical.com Patch Queue Manager
[r=bjornt] Cronscript refactorings
8
import _pythonpath
1102 by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs
9
14605.1.1 by Curtis Hovey
Moved canonical.config to lp.services.
10
from lp.services.config import config
9592.3.1 by Jeroen Vermeulen
Reconstructed changes after merge trouble.
11
from lp.translations.scripts.po_import import TranslationsImport
1998 by Canonical.com Patch Queue Manager
TranslationValidation implementation for .po imports r=spiv
12
14612.2.8 by William Grant
cronscripts
13
1998 by Canonical.com Patch Queue Manager
TranslationValidation implementation for .po imports r=spiv
14
if __name__ == '__main__':
9592.3.3 by Jeroen Vermeulen
Typo.
15
    script = TranslationsImport(
16
        'rosetta-poimport', dbuser=config.poimport.dbuser)
9592.3.1 by Jeroen Vermeulen
Reconstructed changes after merge trouble.
17
    script.lock_and_run()