[CMF-checkins] CVS: Products/CMFTopic - AbstractCriterion.py:1.4 DateCriteria.py:1.3 ListCriterion.py:1.7 SimpleIntCriterion.py:1.7 SimpleStringCriterion.py:1.7 SortCriterion.py:1.3 Topic.py:1.27 TopicPermissions.py:1.3 __init__.py:1.11

Tres Seaver tseaver@zope.com
Thu, 29 Nov 2001 17:05:40 -0500


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

Modified Files:
	AbstractCriterion.py DateCriteria.py ListCriterion.py 
	SimpleIntCriterion.py SimpleStringCriterion.py 
	SortCriterion.py Topic.py TopicPermissions.py __init__.py 
Log Message:
 - Cosmetic cleanups (tracker #341)

=== Products/CMFTopic/AbstractCriterion.py 1.3 => 1.4 ===
 # 
 ##############################################################################
-
 """Home of the abstract Criterion base class.
 $Id$
 """


=== Products/CMFTopic/DateCriteria.py 1.2 => 1.3 ===
 # 
 ##############################################################################
-
 """Various date criteria
 $Id$
 """


=== Products/CMFTopic/ListCriterion.py 1.6 => 1.7 ===
 # 
 ##############################################################################
-
 """List Criterion: A criterion that is a list
 $Id$
 """


=== Products/CMFTopic/SimpleIntCriterion.py 1.6 => 1.7 ===
 # 
 ##############################################################################
-
 """Simple int-matching criterion
 $Id$
 """


=== Products/CMFTopic/SimpleStringCriterion.py 1.6 => 1.7 ===
 # 
 ##############################################################################
-
 """Simple string-matching criterion class
 $Id$
 """


=== Products/CMFTopic/SortCriterion.py 1.2 => 1.3 ===
 # 
 ##############################################################################
+""" Allow topic to specify sorting.
+$Id$
 """
-    Declare simple string-match criterion class.
-"""
+__version__='$Revision$'[11:-2]
 from AbstractCriterion import AbstractCriterion
 from AccessControl import ClassSecurityInfo
 from Topic import Topic


=== Products/CMFTopic/Topic.py 1.26 => 1.27 ===
 # 
 ##############################################################################
-
 """Topic: Canned catalog queries
 $Id$
 """
@@ -184,7 +183,7 @@
                 # parent = aq_parent(self)
                 parent = aq_parent(aq_inner(self))
                 result.update(parent.buildQuery())
-            except:
+            except: # oh well, can't find parent, or it isn't a Topic.
                 pass
 
         for criterion in self.listCriteria():


=== Products/CMFTopic/TopicPermissions.py 1.2 => 1.3 ===
 #
 ##############################################################################
+"""TopicPermissions: Permissions used throughout CMFTopic.
+$Id$
+"""
+__version__='$Revision$'[11:-2]
 
 from Products.CMFCore.CMFCorePermissions import setDefaultRoles
 


=== Products/CMFTopic/__init__.py 1.10 => 1.11 ===
 # 
 ##############################################################################
-
 """Topic: Canned catalog queries
 $Id$
 """