summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Gerken <do3cc@patrick-gerken.de>2013-08-17 17:53:33 (GMT)
committerPatrick Gerken <do3cc@patrick-gerken.de>2013-08-17 17:53:33 (GMT)
commitb2ec35c6364eb09b1dd87dae6cb84e472314e81a (patch)
tree6674b45177a2b613f6dfb173f50f4bbe18c3f1f0
parent1d0b2beb930b4685801cef2557745735814eab8e (diff)
downloadplone.formwidget.contenttree-b2ec35c6364eb09b1dd87dae6cb84e472314e81a.zip
plone.formwidget.contenttree-b2ec35c6364eb09b1dd87dae6cb84e472314e81a.tar.gz
plone.formwidget.contenttree-b2ec35c6364eb09b1dd87dae6cb84e472314e81a.tar.bz2
proper messaging
-rw-r--r--plone/formwidget/contenttree/source.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plone/formwidget/contenttree/source.py b/plone/formwidget/contenttree/source.py
index 29bc00a..893ca64 100644
--- a/plone/formwidget/contenttree/source.py
+++ b/plone/formwidget/contenttree/source.py
@@ -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