[CMF-checkins] CVS: CMF/CMFCore - Skinnable.py:1.9
Paul Winkler
pw_lists@slinkp.com
Fri, 14 Mar 2003 12:56:32 -0500
Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv3986/CMFCore
Modified Files:
Skinnable.py
Log Message:
fixed docstring fixes to Skinnable.setupCurrentSkin and .changeSkin,
and noted in CHANGES.txt.
=== CMF/CMFCore/Skinnable.py 1.8 => 1.9 ===
--- CMF/CMFCore/Skinnable.py:1.8 Fri Mar 14 12:43:57 2003
+++ CMF/CMFCore/Skinnable.py Fri Mar 14 12:56:31 2003
@@ -102,7 +102,9 @@
security.declarePublic('changeSkin')
def changeSkin(self, skinname):
- '''Can be called manually, allowing the user to change
+ '''Change the current skin.
+
+ Can be called manually, allowing the user to change
skins in the middle of a request.
'''
self._v_skindata = None
@@ -114,6 +116,7 @@
def setupCurrentSkin(self, REQUEST=None):
'''
Sets up _v_skindata so that __getattr__ can find it.
+
Can NOT be called manually to change skins in the middle of a
request! Use changeSkin for that.
'''