[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services/pluggableauth - __init__.py:1.4.18.3

Jim Fulton jim at zope.com
Mon Sep 15 16:48:49 EDT 2003


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

Modified Files:
      Tag: parentgeddon-branch
	__init__.py 
Log Message:
Woo hoo. The tests all pass. Zope even runs. :)


=== Zope3/src/zope/app/browser/services/pluggableauth/__init__.py 1.4.18.2 => 1.4.18.3 ===
--- Zope3/src/zope/app/browser/services/pluggableauth/__init__.py:1.4.18.2	Fri Sep 12 15:15:13 2003
+++ Zope3/src/zope/app/browser/services/pluggableauth/__init__.py	Mon Sep 15 16:48:18 2003
@@ -36,7 +36,8 @@
 class PrincipalAdd(BrowserView):
 
     def add(self, content):
-        name = zapi.add(self.context, content.login, content)
+        name = content.login
+        self.context[name] = content
         return self.context[name]
 
     def nextURL(self):




More information about the Zope3-Checkins mailing list