parent
2178fec1a6
commit
b37debda45
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue