Tools: param_parse.py: stop emitting field text in JSON output

This commit is contained in:
Peter Barker 2024-01-16 16:08:33 +11:00 committed by Andrew Tridgell
parent e7cd43ad86
commit a1fe322f46
1 changed files with 1 additions and 1 deletions

View File

@ -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: