branch : pmacs2
This commit is contained in:
moculus 2009-05-06 04:33:45 +00:00
parent 2178fec1a6
commit b37debda45
1 changed files with 1 additions and 1 deletions

View File

@ -412,7 +412,7 @@ class PythonBrmFindReferences(Method):
for tpl in tokens:
lines.append('%-*s %3d%% confidence' % (l, tpl[0], tpl[1]))
if n == 0:
if not tokens:
w.set_error('no references found')
return