[Checkins] SVN: z3c.pt/trunk/benchmark/benchmark/tests.py Add static tail.

Malthe Borch mborch at gmail.com
Sun Apr 11 05:30:44 EDT 2010


Log message for revision 110734:
  Add static tail.

Changed:
  U   z3c.pt/trunk/benchmark/benchmark/tests.py

-=-
Modified: z3c.pt/trunk/benchmark/benchmark/tests.py
===================================================================
--- z3c.pt/trunk/benchmark/benchmark/tests.py	2010-04-11 09:21:28 UTC (rev 110733)
+++ z3c.pt/trunk/benchmark/benchmark/tests.py	2010-04-11 09:30:43 UTC (rev 110734)
@@ -109,10 +109,10 @@
                     _tmp = _tmp.replace('>', '>')
                 yield TEXT, _tmp, None
 
-            yield END, "span", None
-            yield END, "td", None
-        yield END, "tr", None
-    yield END, "html", None
+            yield END, ("span", "\n"), None
+            yield END, ("td", "\n"), None
+        yield END, ("tr", "\n"), None
+    yield END, ("html", "\n"), None
 
 def bigtable_python_stream(table=None, renderer=None):
     stream = renderer(table=table)
@@ -139,7 +139,7 @@
             raise
             yield "/>"
         elif kind is END:
-            yield "</%s" % data
+            yield "</%s>%s" % data
         elif kind is TEXT:
             yield data
 



More information about the checkins mailing list