proper messaging

This commit is contained in:
Patrick Gerken 2013-08-17 19:53:33 +02:00
parent 1d0b2beb93
commit b2ec35c636
1 changed files with 1 additions and 1 deletions

View File

@ -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