Mercurial > p > roundup > code
diff roundup/cgi/templating.py @ 3370:632ccccc2aec maint-0.8
merge from HEAD
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Fri, 24 Jun 2005 07:07:24 +0000 |
| parents | 9795ec63ff0f |
| children | 6d6d7e331c54 |
line wrap: on
line diff
--- a/roundup/cgi/templating.py Fri Jun 24 06:48:17 2005 +0000 +++ b/roundup/cgi/templating.py Fri Jun 24 07:07:24 2005 +0000 @@ -2325,8 +2325,11 @@ ''' Detect if the property marked as being the group property changed in the last iteration fetch ''' + # we poke directly at the _value here since MissingValue can screw + # us up and cause Nones to compare strangely if (self.last_item is None or - self.last_item[property] != self.current_item[property]): + self.last_item[property]._value != + self.current_item[property]._value): return 1 return 0
