Log message for revision 92965:
  Avoid two unnecessary dict lookups.

Changed:
  U   Zope/trunk/lib/python/Products/Five/browser/pagetemplatefile.py

-=-
Modified: Zope/trunk/lib/python/Products/Five/browser/pagetemplatefile.py
===================================================================
--- Zope/trunk/lib/python/Products/Five/browser/pagetemplatefile.py     
2008-11-15 13:50:40 UTC (rev 92964)
+++ Zope/trunk/lib/python/Products/Five/browser/pagetemplatefile.py     
2008-11-15 13:57:00 UTC (rev 92965)
@@ -71,10 +71,10 @@
         if meth is not None:
             root = meth()
 
-        context.update(here=context['context'],
+        context.update(here=obj,
                        # philiKON thinks container should be the view,
                        # but BBB is more important than aesthetics.
-                       container=context['context'],
+                       container=obj,
                        root=root,
                        modules=SecureModuleImporter,
                        traverse_subpath=[],  # BBB, never really worked

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to