File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ are given with the most recent entry first.
55Fixed:
66- anydbm sorting with None values (sf bug 952853)
77- roundup-server -g option not recognised (sf bug 952310)
8+ - HTML templating isset() inverted (sf bug 951779)
89
910
10112004-05-07 0.7.1
Original file line number Diff line number Diff line change 77- Multilink property additions: change_note and new_upload
88- Add class.find() too
99- NumberHTMLProperty should support numeric operations
10- - HTMLProperty should have an isset() method
1110'''
1211
1312__docformat__ = 'restructuredtext'
@@ -1018,8 +1017,8 @@ def __cmp__(self, other):
10181017 return cmp (self ._value , other )
10191018
10201019 def isset (self ):
1021- '''Is my _value None?'''
1022- return self ._value is None
1020+ '''Is my _value not None?'''
1021+ return self ._value is not None
10231022
10241023 def is_edit_ok (self ):
10251024 ''' Is the user allowed to Edit the current class?
@@ -1556,8 +1555,8 @@ def __contains__(self, value):
15561555 return str (value ) in self ._value
15571556
15581557 def isset (self ):
1559- '''Is my _value []?'''
1560- return self ._value = = []
1558+ '''Is my _value not []?'''
1559+ return self ._value ! = []
15611560
15621561 def reverse (self ):
15631562 ''' return the list in reverse order
You can’t perform that action at this time.
0 commit comments