[CMF-checkins] CVS: CMF/CMFCore - ActionsTool.py:1.34

Florent Guillaume fg@nuxeo.com
Sun, 4 Aug 2002 13:26:20 -0400


Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv10673

Modified Files:
	ActionsTool.py 
Log Message:

Made a comment explaining the use of startswith() on action categories.


=== CMF/CMFCore/ActionsTool.py 1.33 => 1.34 ===
                 # This action requires no extra permissions.
                 verified = 1
             else:
+                # startswith() is used so that we can have several
+                # different categories that are checked in the object or
+                # folder context.
                 if (object is not None and
                     (category.startswith('object') or
                      category.startswith('workflow'))):