Commit 942968b0 authored by Jérome Perrin's avatar Jérome Perrin

fix SyntaxWarning

parent cd261393
......@@ -196,7 +196,7 @@ class Resource(XMLObject, XMLMatrix, VariatedMixin):
for base_category in variation.getVariationBaseCategoryList():
# backwards compatbility: if individual_bc_list is empty, allow
# all individual variation base categories.
if (base_category_list is ()
if (base_category_list == ()
or base_category in base_category_list)\
and (not len(individual_bc_list)
or base_category in individual_bc_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