[CMF-checkins] CVS: CMF/CMFCore - FSDTMLMethod.py:1.8

Steve Alexander steve@cat-box.net
Fri, 9 Nov 2001 15:02:38 -0500


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

Modified Files:
	FSDTMLMethod.py 
Log Message:
Fixed CMF tracker issue http://www.zope.org/Products/PTK/Tracker/404
The validate method in FSDTMLMethod appears to get passed a sixth md
argument in Zope 2.3.x, but only five arguments for Zope 2.4.x.


=== CMF/CMFCore/FSDTMLMethod.py 1.7 => 1.8 ===
 
     # Zope 2.3.x way:
-    def validate(self, inst, parent, name, value, md):
+    def validate(self, inst, parent, name, value, md=None):
         return getSecurityManager().validate(inst, parent, name, value)
 
     security.declareProtected(FTPAccess, 'manage_FTPget')