6934.4.1
by Jeroen Vermeulen
New function, and driver script, for admins to delete selected translation messages. |
1 |
#!/usr/bin/python2.4
|
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 |
||
6934.4.6
by Jeroen Vermeulen
Suppressed apparently meaningless warning. |
6 |
# pylint: disable-msg=W0403
|
7 |
||
8 |
# (Suppressing pylint "relative import" warning 0403 for _pythonpath)
|
|
6934.4.1
by Jeroen Vermeulen
New function, and driver script, for admins to delete selected translation messages. |
9 |
|
10 |
__metaclass__ = type |
|
11 |
||
12 |
import _pythonpath |
|
13 |
||
8751.1.2
by Danilo Šegan
Update configure.zcml and interface calls. |
14 |
from lp.translations.scripts.remove_translations import RemoveTranslations |
6934.4.1
by Jeroen Vermeulen
New function, and driver script, for admins to delete selected translation messages. |
15 |
|
16 |
||
17 |
if __name__ == '__main__': |
|
18 |
script = RemoveTranslations( |
|
19 |
'canonical.launchpad.scripts.remove-translations', |
|
20 |
dbuser='rosettaadmin') |
|
21 |
script.run() |