[Zope3-checkins] SVN: Zope3/branches/ZopeX3-3.0/src/zope/app/onlinehelp/browser/__init__.py Removed unneeded removeAllProxies call

Jim Fulton jim at zope.com
Fri Aug 20 15:26:57 EDT 2004


Log message for revision 27193:
  Removed unneeded removeAllProxies call
  


Changed:
  U   Zope3/branches/ZopeX3-3.0/src/zope/app/onlinehelp/browser/__init__.py


-=-
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/onlinehelp/browser/__init__.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/onlinehelp/browser/__init__.py	2004-08-20 19:26:55 UTC (rev 27192)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/onlinehelp/browser/__init__.py	2004-08-20 19:26:57 UTC (rev 27193)
@@ -15,8 +15,6 @@
 
 $Id$
 """
-from zope.proxy import removeAllProxies
-
 from zope.app import zapi
 from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile
 from zope.app.publisher.interfaces.browser import IBrowserView
@@ -76,7 +74,7 @@
         source = zapi.createObject(None,
                                    self.context.type,
                                    self.context.source)
-        view = zapi.getView(removeAllProxies(source), '', self.request)
+        view = zapi.getView(source, '', self.request)
         html = view.render()
         return html
 
@@ -94,7 +92,7 @@
         source = zapi.createObject(None,
                                    topic.type,
                                    topic.source)
-        view = zapi.getView(removeAllProxies(source), '', self.request)
+        view = zapi.getView(source, '', self.request)
         html = view.render()
         return html
 
@@ -116,7 +114,7 @@
         if self.topic is not None:
             return self.topic
 
-        onlinehelp = removeAllProxies(self.context)
+        onlinehelp = self.context
         help_context = onlinehelp.context
         self.topic = None
         if IBrowserView.providedBy(help_context):



More information about the Zope3-Checkins mailing list