[Zope3-checkins] CVS: Zope3/src/zope/app/services - auth.py:1.18

Steve Alexander steve@cat-box.net
Wed, 4 Jun 2003 12:02:10 -0400


Update of /cvs-repository/Zope3/src/zope/app/services
In directory cvs.zope.org:/tmp/cvs-serv29043/src/zope/app/services

Modified Files:
	auth.py 
Log Message:
setObject should return the key used.


=== Zope3/src/zope/app/services/auth.py 1.17 => 1.18 ===
--- Zope3/src/zope/app/services/auth.py:1.17	Wed May 28 11:46:11 2003
+++ Zope3/src/zope/app/services/auth.py	Wed Jun  4 12:02:09 2003
@@ -124,6 +124,7 @@
             raise ValueError(key)
         self._usersbyid[key] = object
         self._usersbylogin[object.getLogin()] = object
+        return key
 
     def __delitem__(self, key):
         'See IWriteContainer'