scripts/eddn-errors: EDD shipyard/outfitting trap removed

This commit is contained in:
Athanasius 2022-06-19 10:22:22 +00:00
parent 13215806e4
commit 75f744abe5

View File

@ -76,18 +76,6 @@ 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.0.4.0'):
if matches.group('schema_ref') in (
'https://eddn.edcd.io/schemas/shipyard/2',
'https://eddn.edcd.io/schemas/outfitting/2',
):
# Reported via Discord PM to Robby 2022-01-07
if matches.group('err_msg') == 'Failed Validation "[<ValidationError: \'[] is too short\'>]"':
pass
else:
print(line)
else:
print(line)
elif matches.group('software_name') == 'EDDLite':