[Checkins] SVN: z3c.pt/trunk/z3c/pt/pagetemplate.py Rollback.

Malthe Borch mborch at gmail.com
Mon Dec 3 13:07:03 EST 2007


Log message for revision 82104:
  Rollback.

Changed:
  U   z3c.pt/trunk/z3c/pt/pagetemplate.py

-=-
Modified: z3c.pt/trunk/z3c/pt/pagetemplate.py
===================================================================
--- z3c.pt/trunk/z3c/pt/pagetemplate.py	2007-12-03 18:02:48 UTC (rev 82103)
+++ z3c.pt/trunk/z3c/pt/pagetemplate.py	2007-12-03 18:07:02 UTC (rev 82104)
@@ -29,21 +29,17 @@
         # imports and symbols
         stream.write("from cgi import escape as _escape")
         stream.write("from z3c.pt.tal import repeatdict as _repeatdict")
-        stream.write("from z3c.pt.tal import attrdict as _attrdict")
         stream.write("from StringIO import StringIO as _StringIO")
         
         stream.write("def render(**_kwargs):")
         stream.indent()
 
         # globalize imports and set up process variables
-        stream.write("global _StringIO, _repeatdict, _attrdict, _escape")
+        stream.write("global _StringIO, _repeatdict, _escape")
         stream.write("repeat = _repeatdict()")
         stream.write("_attrs = {}")
         stream.write("_scope = _kwargs.keys()")
 
-        # proxy kwargs as attrdict
-        stream.write("_kwargs = _attrdict(**_kwargs)")
-
         # output
         stream.write("_out = _StringIO()")
         



More information about the Checkins mailing list