mirror of
https://github.com/EDCD/EDDN.git
synced 2025-04-18 17:47:38 +03:00
eddn-report: Ignore EDD outfitting/2 paintjobs
This commit is contained in:
parent
3db0bbf430
commit
e445da49b7
@ -76,20 +76,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.4.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
|
||||
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: "\'paintjob_') and
|
||||
err_msg.find('\' does not match \'(^Hpt_|^hpt_|^Int_|^int_|_Armour_|_armour_)\'">]') != -1
|
||||
):
|
||||
<https://github.com/EDDiscovery/EDDiscovery/issues/3328>
|
||||
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/latest
|
||||
|
Loading…
x
Reference in New Issue
Block a user