[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/authentication/principalfolder.py Removed an untested missfeature that can cause infinite loops.

Jim Fulton jim at zope.com
Mon Aug 22 15:06:45 EDT 2005


Log message for revision 38023:
  Removed an untested missfeature that can cause infinite loops.
  

Changed:
  U   Zope3/trunk/src/zope/app/authentication/principalfolder.py

-=-
Modified: Zope3/trunk/src/zope/app/authentication/principalfolder.py
===================================================================
--- Zope3/trunk/src/zope/app/authentication/principalfolder.py	2005-08-22 06:40:32 UTC (rev 38022)
+++ Zope3/trunk/src/zope/app/authentication/principalfolder.py	2005-08-22 19:06:44 UTC (rev 38023)
@@ -116,11 +116,7 @@
 
     login = property(getLogin, setLogin)
 
-    def __getitem__(self, attr):
-        if attr in ('title', 'description'):
-            return getattr(self, attr)
 
-
 class PrincipalInfo(object):
     """An implementation of IPrincipalInfo used by the principal folder.
 



More information about the Zope3-Checkins mailing list