[CMF-checkins] CVS: CMF/CMFCore - Skinnable.py:1.10
Paul Winkler
pw_lists@slinkp.com
Fri, 14 Mar 2003 13:00:33 -0500
Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv4569
Modified Files:
Skinnable.py
Log Message:
made some docstrings compliant with PEP 207
=== CMF/CMFCore/Skinnable.py 1.9 => 1.10 ===
--- CMF/CMFCore/Skinnable.py:1.9 Fri Mar 14 12:56:31 2003
+++ CMF/CMFCore/Skinnable.py Fri Mar 14 13:00:33 2003
@@ -52,8 +52,9 @@
def __getattr__(self, name):
'''
Looks for the name in an object with wrappers that only reach
- up to the root skins folder. This should be fast, flexible,
- and predictable.
+ up to the root skins folder.
+
+ This should be fast, flexible, and predictable.
'''
if not name.startswith('_') and not name.startswith('aq_'):
sd = self._v_skindata
@@ -93,7 +94,7 @@
security.declarePublic('getSkinNameFromRequest')
def getSkinNameFromRequest(self, REQUEST=None):
- ''' returns the skin name from the Request'''
+ '''Returns the skin name from the Request.'''
sfn = self.getSkinsFolderName()
if sfn is not None:
sf = getattr(self, sfn, None)
@@ -151,9 +152,10 @@
def _checkId(self, id, allow_dup=0):
'''
- Override of ObjectManager._checkId(). Allows the user
- to create objects with IDs that match the ID of a skin
- object.
+ Override of ObjectManager._checkId().
+
+ Allows the user to create objects with IDs that match the ID of
+ a skin object.
'''
superCheckId = SkinnableObjectManager.inheritedAttribute('_checkId')
if not allow_dup: