Allow customFilters.get_filters() to return a list where an item might be a list of custom filters

svn: r16130
This commit is contained in:
Doug Blank 2010-11-04 14:02:03 +00:00
parent f75cb085b2
commit 6f9ed19a04

View File

@ -49,5 +49,6 @@ def build_filter_model(space, local = []):
if isinstance(filt, (list, tuple)):
for subfilt in filt:
model.append(row=[subfilt.get_name(), subfilt])
model.append(row=[filt.get_name(), filt])
else:
model.append(row=[filt.get_name(), filt])
return model