Python: improve display of warnings in the binding generator

This commit is contained in:
Benjamin Dauvergne 2021-03-08 11:23:56 +01:00
parent f912e8d1ef
commit bd7acfd2f3
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ def remove_bad_optional(args):
if not '=' in x:
non_opt = True
elif non_opt:
print_('W: changed', x, file=sys.stderr)
print_('W: changed', x, file=sys.stderr, end=' ')
x = re.sub(' *=.*', '', x)
print_('to', x, file=sys.stderr)
new_args.append(x)