Update of /cvs-repository/Products/CMFTopic
In directory cvs.zope.org:/tmp/cvs-serv15705/CMFTopic

Modified Files:
        SortCriterion.py 
Log Message:
- get rid of 'not not' and types module
- import and whitespace cleanup


=== Products/CMFTopic/SortCriterion.py 1.8 => 1.9 ===
--- Products/CMFTopic/SortCriterion.py:1.8      Thu Aug 12 11:07:42 2004
+++ Products/CMFTopic/SortCriterion.py  Thu Apr  7 12:38:47 2005
@@ -63,7 +63,7 @@
         """
             Update the value we are to match up against.
         """
-        self.reversed = not not reversed
+        self.reversed = bool(reversed)
     
     security.declareProtected(View, 'getCriteriaItems')
     def getCriteriaItems( self ):

_______________________________________________
CMF-checkins mailing list
[email protected]
http://mail.zope.org/mailman/listinfo/cmf-checkins

Reply via email to