do not consider empty brains (#4550)
This commit is contained in:
parent
7f7c2558b0
commit
af32e5d4b4
|
@ -141,7 +141,7 @@ class PathSource(object):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
results = (self.getTermByBrain(brain, real_value=False)
|
results = (self.getTermByBrain(brain, real_value=False)
|
||||||
for brain in self.catalog(**catalog_query))
|
for brain in self.catalog(**catalog_query) if brain)
|
||||||
except ParseError:
|
except ParseError:
|
||||||
return []
|
return []
|
||||||
|
|
||||||
|
|
Reference in New Issue