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

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


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

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


=== Products/CMFTopic/SortCriterion.py 1.8 => 1.8.2.1 ===
--- Products/CMFTopic/SortCriterion.py:1.8	Thu Aug 12 11:07:42 2004
+++ Products/CMFTopic/SortCriterion.py	Thu Apr  7 12:37: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