mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Tools: param_parse.py: stop emitting field text in JSON output
This commit is contained in:
parent
e7cd43ad86
commit
a1fe322f46
@ -56,7 +56,7 @@ class JSONEmit(Emit):
|
||||
name = name.split(':')[1]
|
||||
|
||||
# Remove various unwanted keys
|
||||
for key in 'real_path', 'SortValues':
|
||||
for key in 'real_path', 'SortValues', '__field_text':
|
||||
try:
|
||||
param.__dict__.pop(key)
|
||||
except KeyError:
|
||||
|
Loading…
Reference in New Issue
Block a user