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.
This commit is contained in:
Athanasius 2022-08-26 07:42:28 +00:00
parent 749d1aad3e
commit 6d992307ce

View File

@ -75,20 +75,20 @@ 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 "[<ValidationError: "u\'\\\\u0131nt_') and
err_msg.find('\' does not match \'(^Hpt_|^hpt_|^Int_|^int_|_Armour_|_armour_)\'">]') != -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 "[<ValidationError: "u\'\\\\u0131nt_') and
# err_msg.find('\' does not match \'(^Hpt_|^hpt_|^Int_|^int_|_Armour_|_armour_)\'">]') != -1
# ):
# <https://github.com/EDDiscovery/EDDiscovery/issues/3304>
pass
# pass
else:
print(line)
# else:
# print(line)
else:
# else:
print(line)
elif matches.group('software_name') == 'EDDLite':