Commit f4c4c822 authored by Arnaud Fontaine's avatar Arnaud Fontaine

py3: `TypeError: 'float' object cannot be interpreted as an integer` on range().

parent 82595cd8
......@@ -33,7 +33,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
<tr tal:define="module_list here/ERP5Site_getModuleItemList;
module_len python: len(module_list);
col_size python: 12;
col_len python: module_len % col_size and (module_len + col_size) / col_size or (module_len) / col_size">
col_len python: module_len % col_size and (module_len + col_size) // col_size or (module_len) // col_size">
<td><a href="https://www.erp5.com/"><img src="images/erp5_logo.png" alt="ERP5 Logo" /></a></td>
<tal:block tal:repeat="col_no python:range(col_len)">
<td valign="top" class="ModuleShortcut">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment