From 59f5536a02db7497e2dde326563d0a7c78b3b3fd Mon Sep 17 00:00:00 2001 From: Athanasius Date: Mon, 22 Aug 2022 07:19:59 +0000 Subject: [PATCH] eddn-report: EDDiscovery outfitting/2 unicode 'i' --- scripts/eddn-report-log-errors | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/scripts/eddn-report-log-errors b/scripts/eddn-report-log-errors index 939d756..5f571db 100755 --- a/scripts/eddn-report-log-errors +++ b/scripts/eddn-report-log-errors @@ -76,7 +76,18 @@ def process_file(input_file: str) -> None: if matches.group('software_name') == 'EDDiscovery': # https://github.com/EDDiscovery/EDDiscovery/releases/latest if software_version >= semantic_version.Version.coerce('15.1.1.0'): - print(line) + if matches.group('schema_ref') == 'https://eddn.edcd.io/schemas/outfitting/2': + if matches.group('err_msg').startswith( + 'Failed Validation "[]' + ): + # + pass + + else: + print(line) + + else: + print(line) elif matches.group('software_name') == 'EDDLite': # https://github.com/EDDiscovery/EDDLite/releases/tag/latest