[CMF-checkins] CVS: Products/CMFDefault - MembershipTool.py:1.47.2.2

Yvo Schubbe y.2005- at wcm-solutions.de
Sun Apr 3 15:48:15 EDT 2005


Update of /cvs-repository/Products/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv4785/CMFDefault

Modified Files:
      Tag: CMF-1_5-branch
	MembershipTool.py 
Log Message:
also catch TypeError: the ID of a SpecialUser is None


=== Products/CMFDefault/MembershipTool.py 1.47.2.1 => 1.47.2.2 ===
--- Products/CMFDefault/MembershipTool.py:1.47.2.1	Tue Dec 21 12:37:30 2004
+++ Products/CMFDefault/MembershipTool.py	Sun Apr  3 15:48:15 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