Commit 197985ce authored by Hanno Schlichting's avatar Hanno Schlichting

Avoid two unnecessary dict lookups.

parent e34877ab
...@@ -71,10 +71,10 @@ class ViewPageTemplateFile(viewpagetemplatefile.ViewPageTemplateFile): ...@@ -71,10 +71,10 @@ class ViewPageTemplateFile(viewpagetemplatefile.ViewPageTemplateFile):
if meth is not None: if meth is not None:
root = meth() root = meth()
context.update(here=context['context'], context.update(here=obj,
# philiKON thinks container should be the view, # philiKON thinks container should be the view,
# but BBB is more important than aesthetics. # but BBB is more important than aesthetics.
container=context['context'], container=obj,
root=root, root=root,
modules=SecureModuleImporter, modules=SecureModuleImporter,
traverse_subpath=[], # BBB, never really worked traverse_subpath=[], # BBB, never really worked
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment