From 6d992307ce18a3c08bfdfd71651520af12c5403f Mon Sep 17 00:00:00 2001 From: Athanasius Date: Fri, 26 Aug 2022 07:42:28 +0000 Subject: [PATCH] eddn-report: Bump EDD to 15.1.2.0, and comment out previous 'catch' * This time I want to keep the example around for future use. --- scripts/eddn-report-log-errors | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/scripts/eddn-report-log-errors b/scripts/eddn-report-log-errors index 59c17b0..f783027 100755 --- a/scripts/eddn-report-log-errors +++ b/scripts/eddn-report-log-errors @@ -75,21 +75,21 @@ 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'): - if matches.group('schema_ref') == 'https://eddn.edcd.io/schemas/outfitting/2': - err_msg = matches.group('err_msg') - if ( - err_msg.startswith('Failed Validation "[]') != -1 - ): + if software_version >= semantic_version.Version.coerce('15.1.2.0'): + # if matches.group('schema_ref') == 'https://eddn.edcd.io/schemas/outfitting/2': + # err_msg = matches.group('err_msg') + # if ( + # err_msg.startswith('Failed Validation "[]') != -1 + # ): # - pass + # pass - else: - print(line) + # else: + # print(line) - else: - print(line) + # else: + print(line) elif matches.group('software_name') == 'EDDLite': # https://github.com/EDDiscovery/EDDLite/releases/tag/latest