Skip to content

Commit

Permalink
Fix transiflex scripts to explicitly require python2
Browse files Browse the repository at this point in the history
  • Loading branch information
facchinm authored and cmaglie committed Jan 4, 2017
1 parent 35ee249 commit 548320f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion arduino-core/src/processing/app/i18n/python/pull.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
#vim:set fileencoding=utf-8 sw=2 expandtab

from transifex import Transifex
Expand Down
2 changes: 1 addition & 1 deletion arduino-core/src/processing/app/i18n/python/push.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
#vim:set fileencoding=utf-8 sw=2 expandtab

from transifex import Transifex
Expand Down
2 changes: 1 addition & 1 deletion arduino-core/src/processing/app/i18n/python/transifex.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
#vim:set fileencoding=utf-8 sw=2 expandtab

import update
Expand Down
2 changes: 1 addition & 1 deletion arduino-core/src/processing/app/i18n/python/update.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
#vim:set fileencoding=utf-8 sw=2 expandtab

def unquote(s):
Expand Down
2 changes: 1 addition & 1 deletion arduino-core/src/processing/app/i18n/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 548320f

Please sign in to comment.