diff options
-rwxr-xr-x | testxml/testxml.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/testxml/testxml.py b/testxml/testxml.py index 7b43d74..6252847 100755 --- a/testxml/testxml.py +++ b/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,12 +1328,6 @@ def testSounds(id, node, type): if event != "hit" and event != "miss": print "error: incorrect sound event name " + event + " in id=" + id errors = errors + 1 - ## FIXME: Is this even necessary? - 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, "") |