Fix transiflex scripts to explicitly require python2

This commit is contained in:
Martino Facchin 2017-01-03 15:26:56 +01:00 committed by Cristian Maglie
parent 35ee2499aa
commit 548320f998
5 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
#vim:set fileencoding=utf-8 sw=2 expandtab
from transifex import Transifex

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
#vim:set fileencoding=utf-8 sw=2 expandtab
from transifex import Transifex

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
#vim:set fileencoding=utf-8 sw=2 expandtab
import update

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
#vim:set fileencoding=utf-8 sw=2 expandtab
def unquote(s):

View File

@ -28,7 +28,7 @@ catalog()
update()
{
echo -e "Updating $1...\c"
cat "$catalog" | python python/update.py "$1"
cat "$catalog" | python2 python/update.py "$1"
msgcat -p "$1" > $(basename "$1" .po).properties
# msgcat may complain about "CHARSET" if you didn't replace "CHARSET" with
# your correct charset.