1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-19 22:35:12 +03:00
Commit graph

7 commits

Author SHA1 Message Date
Sean Vig
4bd90d79d0 Use with open(...) as ...: context managers
Instead of manually opening and closes file objects, use the context
manager that will properly handle opening and closing files for us, even
in the event of some error
2015-12-13 18:57:36 -06:00
Sean Vig
a0f6b0e913 PEP8 radio/util/addtr.py
Split imports, fix indentation
2015-12-13 18:32:53 -06:00
Sean Vig
5efa5d47d3 Use Python 2/3 compatible scripts
Almost entirely fixing print statements, but also a couple importing
changes, wrapped in try/excepts, and one case where dict.keys() not
being a list would be a problem.

Also reverts e41139a397

The real fix for #1907
2015-12-13 18:28:44 -06:00
Markus Sattler
1d6adcc25a Fixes #2870 2015-09-26 07:59:04 +02:00
bsongis
318fc79dfe Cosmetics 2015-03-14 11:36:10 +01:00
bsongis
533f540c04 AddTranslation script improved ;) 2014-03-20 11:10:35 +01:00
Bertrand Songis
5d46f46a87 Script to automatically add a translation into all files. Syntax:
addtr.py TR_GLOBAL_V "GLOBAL V." TR_GLOBAL_VARS
2014-02-23 19:58:52 +01:00