Skip to content

Commit 9b7708c

Browse files
author
Richard Jones
committed
merge from HEAD
1 parent ac0731e commit 9b7708c

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ Fixed:
1616
- don't wrap query.item.html in a <span> (thanks Roch'e Compaan)
1717
- TAL expressions like 'request/show/whatever' return True
1818
if the request does not contain explicit @columns list
19+
- NumberHTMLProperty should return '' not "None" if not set (thanks
20+
William)
1921

2022

2123
2004-10-15 0.7.8

roundup/cgi/templating.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1210,6 +1210,9 @@ def plain(self):
12101210
'''
12111211
self.view_check()
12121212

1213+
if self._value is None:
1214+
return ''
1215+
12131216
return str(self._value)
12141217

12151218
def field(self, size=30):

0 commit comments

Comments
 (0)