10637.3.1
by Guilherme Salgado
Use the default python version instead of a hard-coded version |
1 |
#!/usr/bin/python -S
|
10104.2.6
by Jeroen Vermeulen
Review changes. |
2 |
# Copyright 2010 Canonical Ltd. This software is licensed under the
|
10104.2.1
by Jeroen Vermeulen
Got working validator script. |
3 |
# GNU Affero General Public License version 3 (see the file LICENSE).
|
4 |
||
10104.2.5
by Jeroen Vermeulen
Lint. |
5 |
# pylint: disable-msg=W0403
|
6 |
||
10104.2.1
by Jeroen Vermeulen
Got working validator script. |
7 |
__metaclass__ = type |
8 |
||
9 |
import _pythonpath |
|
10 |
||
11 |
import sys |
|
12 |
||
13 |
from lp.translations.scripts.validate_translations_file import ( |
|
14612.2.7
by William Grant
scripts |
14 |
ValidateTranslationsFile, |
15 |
)
|
|
10104.2.1
by Jeroen Vermeulen
Got working validator script. |
16 |
|
17 |
||
18 |
if __name__ == "__main__": |
|
19 |
sys.exit(ValidateTranslationsFile().main()) |