[Checkins] SVN: megrok.chameleon/trunk/src/megrok/chameleon/components.py Inject only really needed components in template namespace.
Uli Fouquet
uli at gnufix.de
Wed Jul 8 06:55:42 EDT 2009
Log message for revision 101730:
Inject only really needed components in template namespace.
Changed:
U megrok.chameleon/trunk/src/megrok/chameleon/components.py
-=-
Modified: megrok.chameleon/trunk/src/megrok/chameleon/components.py
===================================================================
--- megrok.chameleon/trunk/src/megrok/chameleon/components.py 2009-07-08 10:52:49 UTC (rev 101729)
+++ megrok.chameleon/trunk/src/megrok/chameleon/components.py 2009-07-08 10:55:42 UTC (rev 101730)
@@ -20,7 +20,7 @@
from grokcore.component import GlobalUtility, implements, name
from grokcore.view import interfaces
from grokcore.view.components import GrokTemplate
-from z3c.pt.pagetemplate import evaluate_exists, evaluate_path
+from z3c.pt.pagetemplate import evaluate_exists
#
# Chameleon Zope Page Templates...
@@ -48,8 +48,8 @@
namespace.update(dict(
template=self,
nothing=None,
- path=evaluate_path,
- exists=evaluate_exists))
+ exists=evaluate_exists,
+ ))
return namespace
def render(self, view):
More information about the Checkins
mailing list