Commit fd34d7eb authored by Romain Courteaud's avatar Romain Courteaud

Remove useless if.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15238 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 10fd0d77
...@@ -168,10 +168,7 @@ class Renderer(Filter): ...@@ -168,10 +168,7 @@ class Renderer(Filter):
item = [self.current_category, None] item = [self.current_category, None]
item_list.append(item) item_list.append(item)
if self.display_none_category: if self.display_none_category:
if self.is_right_display: item = ['', '']
item = ['', '']
else:
item = ['', '']
item_list.append(item) item_list.append(item)
for value in value_list: for value in value_list:
......
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