Commit 18bf3606 authored by Jérome Perrin's avatar Jérome Perrin

r14617 introduced a reversed conditional. This is the reason for unit tests failures


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14639 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 34e64bf0
......@@ -201,7 +201,7 @@ class Renderer(Filter):
# base category, merely ignore this category.
# This is not the job for a Renderer to automatically remove values
# if we do not specify a filter
if getattr(value, 'getBaseCategoryId', None) is not None:
if getattr(value, 'getBaseCategoryId', None) is None:
continue
# Remove from now, it might be outdated and useless
#if value.getBaseCategoryId() != guessed_base_category:
......
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