appease pylint

This commit is contained in:
Ian McEwen
2024-11-15 11:50:35 -07:00
parent 426795fccd
commit 0b086d10f8

View File

@@ -678,5 +678,5 @@ def message_to_json(message: Message, multiline: bool=False) -> str:
try:
json = MessageToJson(message, always_print_fields_with_no_presence=True)
except TypeError:
json = MessageToJson(message, including_default_value_fields=True)
json = MessageToJson(message, including_default_value_fields=True) # pylint: disable=E1123
return stripnl(json) if not multiline else json