More text in error

This commit is contained in:
Florent 2014-01-06 15:26:09 +01:00
commit 92dfab4069

View file

@ -81,7 +81,7 @@ class ResultsCondition(IResultsCondition):
operator = op
break
if operator is None:
raise ResultsConditionError(u'Could not find a valid operator in sub-expression "%s"' % _and)
raise ResultsConditionError(u'Could not find a valid operator in sub-expression "%s". Protect the complete condition expression with quotes, or read the documentation in the man manual.' % _and)
try:
l, r = _and.split(operator)
except ValueError: