[jhbuild] Fixed step page when there is an empty log
- From: Frederic Peters <fpeters src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [jhbuild] Fixed step page when there is an empty log
- Date: Wed, 6 Jan 2010 08:38:48 +0000 (UTC)
commit 7e5f0af9ee6e1e4b8b363887b6939f27be66bc54
Author: Frédéric Péters <fpeters 0d be>
Date: Sat Dec 12 00:02:23 2009 +0100
Fixed step page when there is an empty log
jhbuild/buildbot/status/web/step.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/jhbuild/buildbot/status/web/step.py b/jhbuild/buildbot/status/web/step.py
index 0019b2e..68dc478 100644
--- a/jhbuild/buildbot/status/web/step.py
+++ b/jhbuild/buildbot/status/web/step.py
@@ -91,6 +91,7 @@ class JhStatusResourceBuildStep(StatusResourceBuildStep):
data += ('<li><a href="%s">%s</a></li>\n' %
(logurl, html.escape(logname)))
else:
+ logname = logfile.getName()
data += '<li>%s</li>\n' % html.escape(logname)
data += "</ul>\n"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]