[Python-checkins] r64541 - in doctools/trunk/sphinx/templates: genindex-single.html genindex.html
georg.brandl
python-checkins at python.org
Thu Jun 26 22:58:18 CEST 2008
Author: georg.brandl
Date: Thu Jun 26 22:58:18 2008
New Revision: 64541
Log:
Fix precedence.
Modified:
doctools/trunk/sphinx/templates/genindex-single.html
doctools/trunk/sphinx/templates/genindex.html
Modified: doctools/trunk/sphinx/templates/genindex-single.html
==============================================================================
--- doctools/trunk/sphinx/templates/genindex-single.html (original)
+++ doctools/trunk/sphinx/templates/genindex-single.html Thu Jun 26 22:58:18 2008
@@ -24,7 +24,7 @@
{%- endfor %}
</dl></dd>
{%- endif -%}
-{%- set numitems = numitems + 1 + subitems|length -%}
+{%- set numitems = numitems + 1 + (subitems|length) -%}
{%- if numcols < 2 and numitems > breakat -%}
{%- set numcols = numcols+1 -%}
</dl></td><td width="33%" valign="top"><dl>
Modified: doctools/trunk/sphinx/templates/genindex.html
==============================================================================
--- doctools/trunk/sphinx/templates/genindex.html (original)
+++ doctools/trunk/sphinx/templates/genindex.html Thu Jun 26 22:58:18 2008
@@ -32,7 +32,7 @@
{%- endfor %}
</dl></dd>
{%- endif -%}
-{%- set numitems = numitems + 1 + subitems|length -%}
+{%- set numitems = numitems + 1 + (subitems|length) -%}
{%- if numcols < 2 and numitems > breakat -%}
{%- set numcols = numcols+1 -%}
</dl></td><td width="33%" valign="top"><dl>
More information about the Python-checkins
mailing list