[Zope3-checkins] SVN: Zope3/trunk/ Updated to use a newer API. The old API being used was not public.

Jim Fulton jim at zope.com
Mon Jul 31 12:21:03 EDT 2006


Log message for revision 69314:
  Updated to use a newer API. The old API being used was not public.
  

Changed:
  U   Zope3/trunk/doc/CHANGES.txt
  U   Zope3/trunk/src/zope/app/zopeappgenerations/evolve3.py

-=-
Modified: Zope3/trunk/doc/CHANGES.txt
===================================================================
--- Zope3/trunk/doc/CHANGES.txt	2006-07-31 16:20:58 UTC (rev 69313)
+++ Zope3/trunk/doc/CHANGES.txt	2006-07-31 16:21:00 UTC (rev 69314)
@@ -20,6 +20,10 @@
 
     Bug fixes
 
+      - Fixed issue 675, Pluggable Authentication utilities with group
+        folders weren't updated correctly to replect the new database
+        format.
+
       - Fixed issue 663, adding basic auth and session-credential
         plugins didn't work.
 

Modified: Zope3/trunk/src/zope/app/zopeappgenerations/evolve3.py
===================================================================
--- Zope3/trunk/src/zope/app/zopeappgenerations/evolve3.py	2006-07-31 16:20:58 UTC (rev 69313)
+++ Zope3/trunk/src/zope/app/zopeappgenerations/evolve3.py	2006-07-31 16:21:00 UTC (rev 69314)
@@ -69,7 +69,10 @@
                             "like it's registered for something additional "
                             "that I don't expect")
                     r = regs[0]
-                    r.getRegistry().unregister(r)
+                    r.registry.unregisterUtility(
+                       util,
+                       zope.app.authentication.interfaces.IAuthenticatorPlugin,
+                       nm)
                     if r.name in pau.authenticatorPlugins:
                         if util.__name__ != r.name: # else no-op
                             plugins = list(pau.authenticatorPlugins)



More information about the Zope3-Checkins mailing list