10637.3.1
by Guilherme Salgado
Use the default python version instead of a hard-coded version |
1 |
#!/usr/bin/python -S
|
7675.504.7
by Henning Eggers
Created top-level script for intltool detection. |
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 |
||
6 |
"""Print a list of directories that contain a valid intltool structure."""
|
|
7 |
||
7675.504.8
by Henning Eggers
Added _pythonpath to script. |
8 |
import _pythonpath |
9 |
||
7675.504.31
by Henning Eggers
Added output of translation domain to script. Added another test for subsititution. |
10 |
|
10427.20.4
by Henning Eggers
Created new generation script and moved pottery code into buildd module. |
11 |
from canonical.buildd.pottery.intltool import generate_pots |
7675.504.7
by Henning Eggers
Created top-level script for intltool detection. |
12 |
|
13 |
||
14 |
if __name__ == "__main__": |
|
10346.2.6
by Henning Eggers
By defailt generate_pots uses the current directory. |
15 |
print "\n".join(generate_pots()) |