From 53d4dd7df3d6f76ee0667d7c98b365ec00f385c2 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 25 May 2021 10:41:33 -0300 Subject: Remove false-positive --- CI/testxml/testxml.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/CI/testxml/testxml.py b/CI/testxml/testxml.py index 32472b8..1fb7b35 100755 --- a/CI/testxml/testxml.py +++ b/CI/testxml/testxml.py @@ -1312,7 +1312,6 @@ def testParticles(id, node, nodeName, src): def testSounds(id, node, type): global errors - havemiss = False for sound in node.getElementsByTagName("sound"): try: event = sound.attributes["event"].value @@ -1329,11 +1328,6 @@ def testSounds(id, node, type): if event != "hit" and event != "strike" and event != "miss": print "error: incorrect sound event name " + event + " in id=" + id errors = errors + 1 - if event == "strike" or event == "miss": - if havemiss: - print "error: miss and strike attributes at same time in id=" + id - errors = errors + 1 - havemiss = True testSound(sound.childNodes[0].data, sfxDir, "") -- cgit v1.2.3-60-g2f50