[CMF-checkins] CVS: Products/CMFTopic - SortCriterion.py:1.9

Yvo Schubbe y.2005- at wcm-solutions.de
Thu Apr 7 12:39:18 EDT 2005


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 ):



More information about the CMF-checkins mailing list