1
0
Fork 0
Commit graph

7 commits

Author SHA1 Message Date
Florent Rougon
437ebfd272 nasal_api_doc.py: encoding fixes (mostly)
This allows the script to run fine again (we assume UTF-8 encoding for
the parsed Nasal files). Thanks to Huntley Palmer for the report and a
patch. Fixes: https://sourceforge.net/p/flightgear/codetickets/2788/
2023-01-19 17:28:14 +01:00
Scott Giese
22e9d0e2f1 python: use a with-statement to manage file close 2020-10-01 22:51:31 -05:00
Scott Giese
df67cc2bd9 Python: best practices
Check eq/ne
Anticipate file issues
Ensure file closure
2020-08-29 12:07:15 -05:00
Thomas LESNE
31f434d3ad Migrate FGFSDemo.py, FlightGear.py, demo.py and nasal_api_doc.py to Python 3
Also apply minor changes to FGFSDemo.py and demo.py: add python3
shebang, make the scripts executable, improve an error message.
This closes ticket #224:
<https://sourceforge.net/p/flightgear/flightgear/merge-requests/224/>.
2020-08-05 14:01:57 +02:00
ThorstenB
924468169d Ignore empty lines in html output. 2012-03-25 10:34:50 +02:00
ThorstenB
8b46ee6648 Adapt script to changed name. 2012-03-04 19:49:28 +01:00
ThorstenB
7d2f2f2b6f Rename to "nasal_api_doc.py". 2012-03-04 19:49:02 +01:00
Renamed from scripts/python/nasal_api.py (Browse further)