diff roundup/cgi/templating.py @ 1289:257f0ab00d50

bugfix in boolean templating
author Richard Jones <richard@users.sourceforge.net>
date Fri, 18 Oct 2002 03:17:48 +0000
parents 899c6ced2abe
children 3758a5af985f
line wrap: on
line diff
--- a/roundup/cgi/templating.py	Thu Oct 17 06:11:25 2002 +0000
+++ b/roundup/cgi/templating.py	Fri Oct 18 03:17:48 2002 +0000
@@ -831,7 +831,7 @@
     def plain(self):
         ''' Render a "plain" representation of the property
         '''
-        if self.value is None:
+        if self._value is None:
             return ''
         return self._value and "Yes" or "No"
 

Roundup Issue Tracker: http://roundup-tracker.org/