[CMF-checkins] CVS: CMF/CMFCore - Skinnable.py:1.5
Shane Hathaway
shane@cvs.zope.org
Tue, 9 Jul 2002 13:27:25 -0400
Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv8131
Modified Files:
Skinnable.py
Log Message:
Corrected performance optimization: compute the skin only once per request.
=== CMF/CMFCore/Skinnable.py 1.4 => 1.5 ===
# [un]restrictedTraverse messes up the skin data.)
return
- self._v_skindata = None
if self._v_skindata is not None and self._v_skindata[0] is REQUEST:
# Already set up for this request.
return
+ self._v_skindata = None
sfn = self.getSkinsFolderName()
if sfn is not None:
# Note that our custom __getattr__ won't get confused