[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services - adapter.py:1.15

Jim Fulton jim at zope.com
Sun Sep 21 13:30:49 EDT 2003


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

Modified Files:
	adapter.py 
Log Message:
No longer need context wrappers or context methods.


=== Zope3/src/zope/app/browser/services/adapter.py 1.14 => 1.15 ===
--- Zope3/src/zope/app/browser/services/adapter.py:1.14	Fri Aug 15 20:42:54 2003
+++ Zope3/src/zope/app/browser/services/adapter.py	Sun Sep 21 13:30:48 2003
@@ -31,7 +31,6 @@
 from zope.schema import getFieldNamesInOrder
 from zope.component import getView
 from zope.publisher.browser import BrowserView
-from zope.app.context import ContextWrapper
 
 from zope.app.i18n import ZopeMessageIDFactory as _
 from zope.app.interfaces.services.adapter import IAdapterRegistration
@@ -77,7 +76,6 @@
             providedInterface = (
                 providedInterface.__module__ +"."+ providedInterface.getName())
 
-            registry = ContextWrapper(registry, self.context)
             view = getView(registry, "ChangeRegistrations", self.request)
             prefix = md5.new('%s %s' %
                              (forInterface, providedInterface)).hexdigest()




More information about the Zope3-Checkins mailing list