Skip to content
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.

Commit

Permalink
Updated to use a newer API. The old API being used was not public.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Fulton committed Jul 31, 2006
1 parent 2666325 commit cf0ebed
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion evolve3.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ def evolve(context):
"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)
Expand Down

0 comments on commit cf0ebed

Please sign in to comment.