[CMF-checkins] CVS: CMF/CMFCore - SkinsTool.py:1.13
Chris Withers
chrisw@nipltd.com
Fri, 8 Feb 2002 07:44:48 -0500
Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv8986
Modified Files:
SkinsTool.py
Log Message:
Make PUT_factory replaceable, so it can be overridden.
=== CMF/CMFCore/SkinsTool.py 1.12 => 1.13 ===
from OFS.Image import Image
from OFS.DTMLMethod import DTMLMethod
+from OFS.ObjectManager import REPLACEABLE
from Products.PythonScripts.PythonScript import PythonScript
try:
@@ -167,6 +168,9 @@
return DTMLMethod( __name__=name )
return None
+
+ # Make the PUT_factory replaceable
+ PUT_factory__replaceable__ = REPLACEABLE
security.declarePrivate('testSkinPath')