summaryrefslogtreecommitdiff
path: root/testxml
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-24 15:03:26 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-24 15:03:26 +0300
commitd615b3a433d4cab9e9ff15d4cb3bead4674c12f8 (patch)
tree86197bbaa1108dc637e56404b2f9819da44bed36 /testxml
parente3aa2d5c44f8443a24813c7cb7869abcd434d0b4 (diff)
downloadevol-tools-d615b3a433d4cab9e9ff15d4cb3bead4674c12f8.tar.gz
evol-tools-d615b3a433d4cab9e9ff15d4cb3bead4674c12f8.tar.bz2
evol-tools-d615b3a433d4cab9e9ff15d4cb3bead4674c12f8.tar.xz
evol-tools-d615b3a433d4cab9e9ff15d4cb3bead4674c12f8.zip
testxml: Fix crash with incorrect imageset tag.
Diffstat (limited to 'testxml')
-rwxr-xr-xtestxml/testxml.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/testxml/testxml.py b/testxml/testxml.py
index 5acbfa6..2037a66 100755
--- a/testxml/testxml.py
+++ b/testxml/testxml.py
@@ -397,7 +397,8 @@ def testSpriteFile(id, fullPath, file, fileLoc, dnum, variant, iserr):
showMsgSprite(fileLoc, "incorrect number of imageset tags", iserr)
return
imageset = imagesets[0]
-
+
+ image = ""
try:
image = imageset.attributes["src"].value
image0 = image