From d615b3a433d4cab9e9ff15d4cb3bead4674c12f8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 24 Jul 2011 15:03:26 +0300 Subject: testxml: Fix crash with incorrect imageset tag. --- testxml/testxml.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2