[Zope3-checkins] SVN: Zope3/branches/Zope-3.1/src/zope/app/authentication/principalfolder.py Merged 38023 from trunk:

Jim Fulton jim at zope.com
Tue Aug 23 13:42:49 EDT 2005


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

Changed:
  U   Zope3/branches/Zope-3.1/src/zope/app/authentication/principalfolder.py

-=-
Modified: Zope3/branches/Zope-3.1/src/zope/app/authentication/principalfolder.py
===================================================================
--- Zope3/branches/Zope-3.1/src/zope/app/authentication/principalfolder.py	2005-08-23 17:00:30 UTC (rev 38047)
+++ Zope3/branches/Zope-3.1/src/zope/app/authentication/principalfolder.py	2005-08-23 17:42:49 UTC (rev 38048)
@@ -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