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,21 +75,21 @@ def process_file(input_file: str) -> None:
################################################################### ###################################################################
if matches.group('software_name') == 'EDDiscovery': if matches.group('software_name') == 'EDDiscovery':
# https://github.com/EDDiscovery/EDDiscovery/releases/latest # https://github.com/EDDiscovery/EDDiscovery/releases/latest
if software_version >= semantic_version.Version.coerce('15.1.1.0'): if software_version >= semantic_version.Version.coerce('15.1.2.0'):
if matches.group('schema_ref') == 'https://eddn.edcd.io/schemas/outfitting/2': # if matches.group('schema_ref') == 'https://eddn.edcd.io/schemas/outfitting/2':
err_msg = matches.group('err_msg') # err_msg = matches.group('err_msg')
if ( # if (
err_msg.startswith('Failed Validation "[<ValidationError: "u\'\\\\u0131nt_') and # err_msg.startswith('Failed Validation "[<ValidationError: "u\'\\\\u0131nt_') and
err_msg.find('\' does not match \'(^Hpt_|^hpt_|^Int_|^int_|_Armour_|_armour_)\'">]') != -1 # err_msg.find('\' does not match \'(^Hpt_|^hpt_|^Int_|^int_|_Armour_|_armour_)\'">]') != -1
): # ):
# <https://github.com/EDDiscovery/EDDiscovery/issues/3304> # <https://github.com/EDDiscovery/EDDiscovery/issues/3304>
pass # pass
else: # else:
print(line) # print(line)
else: # else:
print(line) print(line)
elif matches.group('software_name') == 'EDDLite': elif matches.group('software_name') == 'EDDLite':
# https://github.com/EDDiscovery/EDDLite/releases/tag/latest # https://github.com/EDDiscovery/EDDLite/releases/tag/latest