12362.1.4
by Aaron Bentley
Add script for merging translations on existing packagings. |
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 |
__metaclass__ = type |
|
7 |
||
8 |
import _pythonpath |
|
9 |
||
10 |
from lp.translations.translationmerger import ( |
|
11 |
MergeExistingPackagings) |
|
12 |
||
12362.1.8
by Aaron Bentley
Misc cleanup. |
13 |
|
12362.1.4
by Aaron Bentley
Add script for merging translations on existing packagings. |
14 |
if __name__ == '__main__': |
15 |
script = MergeExistingPackagings( |
|
14565.2.15
by Curtis Hovey
Moved canonical.launchpad.scripts __init__ to lp.services.scripts. |
16 |
'lp.services.scripts.message-sharing-merge', |
12362.1.4
by Aaron Bentley
Add script for merging translations on existing packagings. |
17 |
dbuser='rosettaadmin') |
18 |
script.run() |