[Zope3-checkins] SVN: Zope3/branches/3.3/src/zope/app/zopeappgenerations/evolve3.py Updated to use a newer API. The old API being used was not public.

Jim Fulton jim at zope.com
Mon Jul 31 11:47:55 EDT 2006


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

Changed:
  U   Zope3/branches/3.3/src/zope/app/zopeappgenerations/evolve3.py

-=-
Modified: Zope3/branches/3.3/src/zope/app/zopeappgenerations/evolve3.py
===================================================================
--- Zope3/branches/3.3/src/zope/app/zopeappgenerations/evolve3.py	2006-07-31 15:47:51 UTC (rev 69307)
+++ Zope3/branches/3.3/src/zope/app/zopeappgenerations/evolve3.py	2006-07-31 15:47:54 UTC (rev 69308)
@@ -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