*referers_tree

This commit is contained in:
Costa Shulyupin 2019-11-06 11:27:45 +02:00
parent 6758fc827a
commit a7617ebe7b
1 changed files with 0 additions and 2 deletions

View File

@ -187,10 +187,8 @@ def referers_tree(name, referer=None, printed=None, level=0):
if level > level_limit - 2: if level > level_limit - 2:
print_limited((level + 1)*'\t' + '...') print_limited((level + 1)*'\t' + '...')
return '' return ''
listed = set()
for a in referer(name): for a in referer(name):
referers_tree(a, referer, printed, level + 1) referers_tree(a, referer, printed, level + 1)
listed.add(a)
return '' return ''