[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/adapter/adapter.py
Bug fix for UnpickleableError when changing a registration status.
Garrett Smith
garrett at mojave-corp.com
Fri May 14 19:41:09 EDT 2004
Log message for revision 24703:
Bug fix for UnpickleableError when changing a registration status.
-=-
Modified: Zope3/trunk/src/zope/app/adapter/adapter.py
===================================================================
--- Zope3/trunk/src/zope/app/adapter/adapter.py 2004-05-14 22:25:11 UTC (rev 24702)
+++ Zope3/trunk/src/zope/app/adapter/adapter.py 2004-05-14 23:41:08 UTC (rev 24703)
@@ -161,7 +161,8 @@
for key, stack in stacks.iteritems():
registration = stack.active()
if registration is not None:
- radapters[key] = registration.factory
+ from zope.proxy import removeAllProxies
+ radapters[key] = removeAllProxies(registration.factory)
if adapters != self.adapters:
More information about the Zope3-Checkins
mailing list