From 4c26daf7d2dd7f414390b28d15ebf21d9b08bba9 Mon Sep 17 00:00:00 2001 From: richard Date: Sat, 20 Oct 2001 12:13:44 +0000 Subject: [PATCH] Fixed grouping of non-str properties (thanks Roch'e Compaan) git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@313 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup/htmltemplate.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/roundup/htmltemplate.py b/roundup/htmltemplate.py index 8faff5b..b0a0bdc 100644 --- a/roundup/htmltemplate.py +++ b/roundup/htmltemplate.py @@ -15,7 +15,7 @@ # 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 @@ -569,6 +569,8 @@ def index(client, templates, db, classname, filterspec={}, filter=[], value = cl.get(nodeid, name) if value is None: value = '[empty %s]'%name + else: + value = str(value) l.append(value) w('' '%s'%( @@ -756,6 +758,9 @@ def newitem(client, templates, db, classname, form, replace=re.compile( # # $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. -- 2.30.2