Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix transiflex scripts to explicitly require python2
  • Loading branch information
facchinm committed Jan 3, 2017
commit 1d634b87b2621144db8e350e18184d1e082c181a
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