Skip to content

Commit bed5f4a

Browse files
author
Richard Jones
committed
htmltemplate do_menu with additional properties...
...had problems when they weren't set
1 parent 316f2d0 commit bed5f4a

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

CHANGES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Fixed:
99
. #571170 ] gdbm deadlock
1010
. #576241 ] MultiLink problems in parsePropsFromForm
1111
. #516854 ] "My Issues" and redisplay
12+
. htmltemplate do_menu with additional properties had problems when they
13+
weren't set
1214

1315

1416
2002-06-24 0.4.2

roundup/htmltemplate.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: htmltemplate.py,v 1.92.2.2 2002-07-10 07:23:00 richard Exp $
18+
# $Id: htmltemplate.py,v 1.92.2.3 2002-07-18 07:03:26 richard Exp $
1919

2020
__doc__ = """
2121
Template engine.
@@ -316,7 +316,7 @@ def do_menu(self, property, size=None, height=None, showid=0,
316316
m = []
317317
for propname in additional:
318318
m.append(linkcl.get(optionid, propname))
319-
lab = lab + ' (%s)'%', '.join(m)
319+
lab = lab + ' (%s)'%', '.join(map(str, m))
320320
lab = cgi.escape(lab)
321321
l.append('<option %svalue="%s">%s</option>'%(s, optionid,
322322
lab))
@@ -1198,6 +1198,9 @@ def render(self, form):
11981198

11991199
#
12001200
# $Log: not supported by cvs2svn $
1201+
# Revision 1.92.2.2 2002/07/10 07:23:00 richard
1202+
# crap
1203+
#
12011204
# Revision 1.92.2.1 2002/07/10 07:21:18 richard
12021205
# . #516854 ] "My Issues" and redisplay (no, really, this time for sure)
12031206
#

0 commit comments

Comments
 (0)