small fixes
This commit is contained in:
parent
bd9e324f6c
commit
2e775dd340
|
@ -78,7 +78,7 @@ def func_referers_git_grep(name):
|
||||||
r = None
|
r = None
|
||||||
for line in popen(r'git grep --no-index --word-regexp --show-function '
|
for line in popen(r'git grep --no-index --word-regexp --show-function '
|
||||||
r'"^\s.*\b%s" '
|
r'"^\s.*\b%s" '
|
||||||
'**.\[hc\] **.cpp **.cc **.hh' % (name)):
|
r'**.\[hc\] **.cpp **.cc **.hh' % (name)):
|
||||||
# Filter out names in comment afer function,
|
# Filter out names in comment afer function,
|
||||||
# when comment start from ' *'
|
# when comment start from ' *'
|
||||||
# To see the problem try "git grep -p and"
|
# To see the problem try "git grep -p and"
|
||||||
|
@ -185,7 +185,6 @@ def call_tree(node, printed=None, level=0):
|
||||||
if printed is None:
|
if printed is None:
|
||||||
printed = set()
|
printed = set()
|
||||||
if node in printed:
|
if node in printed:
|
||||||
limit = - 1
|
|
||||||
print_limited(level*'\t' + node + ' ^')
|
print_limited(level*'\t' + node + ' ^')
|
||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue