proper messaging
This commit is contained in:
parent
1d0b2beb93
commit
b2ec35c636
|
@ -127,7 +127,7 @@ class PathSource(object):
|
|||
return self._placeholderTerm(value)
|
||||
if not self.isBrainSelectable(brain):
|
||||
raise LookupError('Value "%s" does not match criteria for field'
|
||||
% str(value))
|
||||
, str(value))
|
||||
return self.getTermByBrain(brain)
|
||||
|
||||
# Query API - used to locate content, e.g. in non-JS mode
|
||||
|
|
Reference in New Issue