[Checkins] SVN: z3c.pt/trunk/benchmark/benchmark/ Traversal to dictionary methods is not provided; we must use a Python-expression.
Malthe Borch
mborch at gmail.com
Sun Mar 15 03:35:54 EDT 2009
Log message for revision 98118:
Traversal to dictionary methods is not provided; we must use a Python-expression.
Changed:
U z3c.pt/trunk/benchmark/benchmark/input/bigtable_path_z3c.pt
U z3c.pt/trunk/benchmark/benchmark/input/bigtable_path_zope.pt
U z3c.pt/trunk/benchmark/benchmark/tests.py
-=-
Modified: z3c.pt/trunk/benchmark/benchmark/input/bigtable_path_z3c.pt
===================================================================
--- z3c.pt/trunk/benchmark/benchmark/input/bigtable_path_z3c.pt 2009-03-15 00:56:06 UTC (rev 98117)
+++ z3c.pt/trunk/benchmark/benchmark/input/bigtable_path_z3c.pt 2009-03-15 07:35:53 UTC (rev 98118)
@@ -2,7 +2,7 @@
xmlns:tal="http://xml.zope.org/namespaces/tal"
tal:default-expression="path">
<tr tal:repeat="row table">
- <td tal:repeat="c row/values">
+ <td tal:repeat="c python: row.values()">
<span tal:define="d python: c + 1"
tal:attributes="class string:column-${d}"
tal:content="d" />
Modified: z3c.pt/trunk/benchmark/benchmark/input/bigtable_path_zope.pt
===================================================================
--- z3c.pt/trunk/benchmark/benchmark/input/bigtable_path_zope.pt 2009-03-15 00:56:06 UTC (rev 98117)
+++ z3c.pt/trunk/benchmark/benchmark/input/bigtable_path_zope.pt 2009-03-15 07:35:53 UTC (rev 98118)
@@ -1,7 +1,7 @@
<table xmlns="http://www.w3.org/1999/xhtml"
xmlns:tal="http://xml.zope.org/namespaces/tal">
<tr tal:repeat="row options/table">
- <td tal:repeat="c row/values">
+ <td tal:repeat="c python: row.values()">
<span tal:define="d python: c + 1"
tal:attributes="class string:column-${d}"
tal:content="d" />
Modified: z3c.pt/trunk/benchmark/benchmark/tests.py
===================================================================
--- z3c.pt/trunk/benchmark/benchmark/tests.py 2009-03-15 00:56:06 UTC (rev 98117)
+++ z3c.pt/trunk/benchmark/benchmark/tests.py 2009-03-15 07:35:53 UTC (rev 98118)
@@ -90,7 +90,7 @@
xmlns:tal="http://xml.zope.org/namespaces/tal"
tal:default-expression="path">
<tr tal:repeat="row options/table">
- <td tal:repeat="c row/values">
+ <td tal:repeat="c python: row.values()">
<span tal:define="d python: c + 1"
tal:attributes="class string:column-${d}"
tal:content="d" />
More information about the Checkins
mailing list