forked from OpenSDV/Linux_Kernel_map4vehicle
fix spacing
This commit is contained in:
parent
71124571d1
commit
e1c7f3643b
|
@ -20,6 +20,7 @@ level_limit = 7
|
|||
limit = 10000
|
||||
n = 0
|
||||
|
||||
|
||||
def print_limited(a):
|
||||
print(a)
|
||||
global n
|
||||
|
@ -28,6 +29,7 @@ def print_limited(a):
|
|||
print('Reached limit')
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
def log(*args, **kwargs):
|
||||
print(inspect.stack()[1][3], str(*args).rstrip(), file=sys.stderr, **kwargs)
|
||||
pass
|
||||
|
@ -132,7 +134,7 @@ def call_tree(node, printed = None, level = 0):
|
|||
return ''
|
||||
local_printed = set()
|
||||
for line in popen('cscope -d -L2 "%s"'%(node)):
|
||||
I = line.split()[1];
|
||||
I = line.split()[1]
|
||||
if I in local_printed or I in black_list: continue;
|
||||
local_printed.add(I)
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue