[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Security - PrincipalRegistry.py:1.1.2.9

Anthony Baxter anthony@interlink.com.au
Sat, 9 Feb 2002 17:36:40 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/Security
In directory cvs.zope.org:/tmp/cvs-serv12576

Modified Files:
      Tag: Zope-3x-branch
	PrincipalRegistry.py 
Log Message:
definePrincipal returns the new Principal object. death to strings.


=== Zope3/lib/python/Zope/App/Security/PrincipalRegistry.py 1.1.2.8 => 1.1.2.9 ===
         self.__principalsById[id]=p
 
+        return p
+
     def _clear(self):
         self.__init__()