diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-05-25 10:41:33 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-05-25 10:41:33 -0300 |
commit | 53d4dd7df3d6f76ee0667d7c98b365ec00f385c2 (patch) | |
tree | 56b4d557a8e69d2108c5fc128cd0e54d3410c686 | |
parent | 051ed1ce8ec8b171c109a22be736dd5e8502027d (diff) | |
download | tools-53d4dd7df3d6f76ee0667d7c98b365ec00f385c2.tar.gz tools-53d4dd7df3d6f76ee0667d7c98b365ec00f385c2.tar.bz2 tools-53d4dd7df3d6f76ee0667d7c98b365ec00f385c2.tar.xz tools-53d4dd7df3d6f76ee0667d7c98b365ec00f385c2.zip |
Remove false-positive
-rwxr-xr-x | CI/testxml/testxml.py | 6 |
1 files changed, 0 insertions, 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, "") |