From 950c3f65c9adc869f72ca5d847da8499f4cec36f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Manuel=20Barroso=20Galindo?= Date: Mon, 15 Feb 2021 19:48:54 +0100 Subject: [PATCH] Ignoring missing crc is ignore_crc attribute is present in the element --- other_authors/mra_rom_check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/other_authors/mra_rom_check.sh b/other_authors/mra_rom_check.sh index e77d063..28da84a 100644 --- a/other_authors/mra_rom_check.sh +++ b/other_authors/mra_rom_check.sh @@ -102,7 +102,7 @@ def parseMRA(mraFile): #output_line(crclist) for item in root.findall('rom/part'): #output_line(item.attrib) - if ('name' in item.attrib and 'crc' not in item.attrib): + if ('name' in item.attrib and 'crc' not in item.attrib and 'ignore_crc' not in item.attrib): missingCRCs = missingCRCs + 1 if ('partnames' not in info): info['partnames'] = []