[asterisk-commits] mnicholson: testsuite/asterisk/trunk r2456 - /asterisk/trunk/runtests.py
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Sep 26 08:06:10 CDT 2011
Author: mnicholson
Date: Mon Sep 26 08:06:06 2011
New Revision: 2456
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=2456
Log:
fix xml generation code
Modified:
asterisk/trunk/runtests.py
Modified: asterisk/trunk/runtests.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/runtests.py?view=diff&rev=2456&r1=2455&r2=2456
==============================================================================
--- asterisk/trunk/runtests.py (original)
+++ asterisk/trunk/runtests.py Mon Sep 26 08:06:06 2011
@@ -258,9 +258,9 @@
if t.passed:
continue
- f = doc.createElement("failure")
- f.appendChild(doc.createTextNode(self.__strip_illegal_xml_chars(t.failure_message)))
- tc.appendChild(f)
+ failure = doc.createElement("failure")
+ failure.appendChild(doc.createTextNode(self.__strip_illegal_xml_chars(t.failure_message)))
+ tc.appendChild(failure)
doc.writexml(f, encoding = "utf-8")
f.close()
More information about the asterisk-commits
mailing list