fix spacing

This commit is contained in:
Costa Shulyupin 2018-07-18 23:48:22 +03:00
parent 71124571d1
commit e1c7f3643b
1 changed files with 12 additions and 10 deletions

View File

@ -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: