Log message for revision 81769:
None has no get method. This fixes
https://bugs.launchpad.net/zope-cmf/+bug/162210
Changed:
U CMF/branches/2.1/CMFCore/Skinnable.py
-=-
Modified: CMF/branches/2.1/CMFCore/Skinnable.py
===================================================================
--- CMF/branches/2.1/CMFCore/Skinnable.py 2007-11-12 15:11:05 UTC (rev
81768)
+++ CMF/branches/2.1/CMFCore/Skinnable.py 2007-11-12 15:42:35 UTC (rev
81769)
@@ -116,6 +116,8 @@
security.declarePublic('getSkinNameFromRequest')
def getSkinNameFromRequest(self, REQUEST=None):
'''Returns the skin name from the Request.'''
+ if REQUEST is None:
+ return None
sfn = self.getSkinsFolderName()
if sfn is not None:
sf = getattr(self, sfn, None)
_______________________________________________
CMF-checkins mailing list
[email protected]
http://mail.zope.org/mailman/listinfo/cmf-checkins