summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e053170)
raw | patch | inline | side by side (parent: e053170)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sat, 20 Oct 2001 12:13:44 +0000 (12:13 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sat, 20 Oct 2001 12:13:44 +0000 (12:13 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@313 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/htmltemplate.py | patch | blob | history |
index 8faff5b34051808f29348d74cf898262db663a71..b0a0bdcf8b2af496b7b86989cfb38199e0be4162 100644 (file)
--- a/roundup/htmltemplate.py
+++ b/roundup/htmltemplate.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: htmltemplate.py,v 1.26 2001-10-14 10:55:00 richard Exp $
+# $Id: htmltemplate.py,v 1.27 2001-10-20 12:13:44 richard Exp $
import os, re, StringIO, urllib, cgi, errno
value = cl.get(nodeid, name)
if value is None:
value = '[empty %s]'%name
+ else:
+ value = str(value)
l.append(value)
w('<tr class="section-bar">'
'<td align=middle colspan=%s><strong>%s</strong></td></tr>'%(
#
# $Log: not supported by cvs2svn $
+# Revision 1.26 2001/10/14 10:55:00 richard
+# Handle empty strings in HTML template Link function
+#
# Revision 1.25 2001/10/09 07:25:59 richard
# Added the Password property type. See "pydoc roundup.password" for
# implementation details. Have updated some of the documentation too.