Skip to content

Commit 548320f

Browse files
facchinmcmaglie
authored andcommitted
Fix transiflex scripts to explicitly require python2
1 parent 35ee249 commit 548320f

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

arduino-core/src/processing/app/i18n/python/pull.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python2
22
#vim:set fileencoding=utf-8 sw=2 expandtab
33

44
from transifex import Transifex

arduino-core/src/processing/app/i18n/python/push.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python2
22
#vim:set fileencoding=utf-8 sw=2 expandtab
33

44
from transifex import Transifex

arduino-core/src/processing/app/i18n/python/transifex.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python2
22
#vim:set fileencoding=utf-8 sw=2 expandtab
33

44
import update

arduino-core/src/processing/app/i18n/python/update.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python2
22
#vim:set fileencoding=utf-8 sw=2 expandtab
33

44
def unquote(s):

arduino-core/src/processing/app/i18n/update.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ catalog()
2828
update()
2929
{
3030
echo -e "Updating $1...\c"
31-
cat "$catalog" | python python/update.py "$1"
31+
cat "$catalog" | python2 python/update.py "$1"
3232
msgcat -p "$1" > $(basename "$1" .po).properties
3333
# msgcat may complain about "CHARSET" if you didn't replace "CHARSET" with
3434
# your correct charset.

0 commit comments

Comments
 (0)