[CMF-checkins] SVN: CMF/trunk/CMFTopic/Topic.py - use boolean for
acquireCriteria
Yvo Schubbe
y.2006_ at wcm-solutions.de
Sun Feb 5 14:02:49 EST 2006
Log message for revision 41564:
- use boolean for acquireCriteria
Changed:
U CMF/trunk/CMFTopic/Topic.py
-=-
Modified: CMF/trunk/CMFTopic/Topic.py
===================================================================
--- CMF/trunk/CMFTopic/Topic.py 2006-02-05 17:36:41 UTC (rev 41563)
+++ CMF/trunk/CMFTopic/Topic.py 2006-02-05 19:02:49 UTC (rev 41564)
@@ -59,7 +59,7 @@
security = ClassSecurityInfo()
security.declareObjectProtected(View)
- acquireCriteria = 1
+ acquireCriteria = True
_criteriaTypes = []
security.declareProtected(ChangeTopics, 'listCriteria')
@@ -111,7 +111,7 @@
o Also update metadata about the Topic.
"""
- self.acquireCriteria = acquireCriteria
+ self.acquireCriteria = bool(acquireCriteria)
if title is not None:
self.title = title
self.description = description
More information about the CMF-checkins
mailing list