summaryrefslogtreecommitdiff
path: root/testxml
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-11 01:38:51 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-11 01:38:51 +0300
commitf3bfee71a3921e4000852744b225aaf8713982b4 (patch)
tree900d2c81b88567cf20e2921e2f231dae3927a517 /testxml
parentfb51b04412cfd9d2e85598a7bd1138eecb36818c (diff)
downloadevol-tools-f3bfee71a3921e4000852744b225aaf8713982b4.tar.gz
evol-tools-f3bfee71a3921e4000852744b225aaf8713982b4.tar.bz2
evol-tools-f3bfee71a3921e4000852744b225aaf8713982b4.tar.xz
evol-tools-f3bfee71a3921e4000852744b225aaf8713982b4.zip
testxml: fix crash on incorrect imagesets.
Diffstat (limited to 'testxml')
-rwxr-xr-xtestxml/testxml.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/testxml/testxml.py b/testxml/testxml.py
index f9747d5..a20051d 100755
--- a/testxml/testxml.py
+++ b/testxml/testxml.py
@@ -407,6 +407,7 @@ def testSpriteFile(id, fullPath, file, fileLoc, dnum, variant, checkAction, iser
showMsgSprite(fileLoc, "incorrect number of imageset tags", iserr)
return
isets = set()
+ num = 0
for imageset in imagesets:
try:
name = imageset.attributes["name"].value