Commit 3e3abaea authored by Jérome Perrin's avatar Jérome Perrin

fixup! fixup! py2/py3: Make Products code compatible with both python2 and python3.

parent 7382b7da
......@@ -7,7 +7,7 @@
<table metal:define-macro="table"
tal:define="max_per_line python: 4;
cell_number python: len(module_category_list);
row_number python: (cell_number/max_per_line+1)"
row_number python: (cell_number//max_per_line+1)"
class="access_tab_table">
<tr tal:repeat="row python: range(row_number)">
<tal:block tal:repeat="module_category python: module_category_list[(row*max_per_line):((row+1)*max_per_line)]">
......
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