summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClark Williams <williams@redhat.com>2010-08-23 14:34:04 -0500
committerClark Williams <williams@redhat.com>2010-08-23 14:34:04 -0500
commitf820268299c0df5be191dfffb12d54a14fb0b00b (patch)
tree2e4fc58026ac032cd674062241fb8a861dbba180
parent7e8eb178452cc8beaf6db35cd40294ac2582d08b (diff)
downloadrteval-f820268299c0df5be191dfffb12d54a14fb0b00b.tar.gz
rteval-f820268299c0df5be191dfffb12d54a14fb0b00b.tar.xz
rteval-f820268299c0df5be191dfffb12d54a14fb0b00b.zip
clean up rteval/rteval_text.xsl to handle old reports
Don't depend on the 'run' attribute for a load section since it was just added and old reports do not contain it. Signed-off-by: Clark Williams <williams@redhat.com>
-rw-r--r--rteval/rteval_text.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/rteval/rteval_text.xsl b/rteval/rteval_text.xsl
index bdd8920..2a99586 100644
--- a/rteval/rteval_text.xsl
+++ b/rteval/rteval_text.xsl
@@ -128,7 +128,7 @@
<xsl:value-of select="@name"/>
<xsl:text>: </xsl:text>
<xsl:choose>
- <xsl:when test="@run = '1'">
+ <xsl:when test="not(@run) or @run = '1'">
<xsl:value-of select="."/>
</xsl:when>
<xsl:otherwise>(Not run)</xsl:otherwise>