[CMF-checkins] CVS: Products/CMFDefault - MembershipTool.py:1.49
Yvo Schubbe
y.2005- at wcm-solutions.de
Sun Apr 3 15:49:07 EDT 2005
Update of /cvs-repository/Products/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv5181/CMFDefault
Modified Files:
MembershipTool.py
Log Message:
also catch TypeError: the ID of a SpecialUser is None
=== Products/CMFDefault/MembershipTool.py 1.48 => 1.49 ===
--- Products/CMFDefault/MembershipTool.py:1.48 Tue Dec 21 12:37:57 2004
+++ Products/CMFDefault/MembershipTool.py Sun Apr 3 15:49:07 2005
@@ -281,7 +281,7 @@
# Don't return the folder if the user can't get to it.
return None
return folder
- except AttributeError:
+ except (AttributeError, TypeError):
pass
return None
More information about the CMF-checkins
mailing list