From f6f4513543d72a02c7b1b46615181e68f4466c9f Mon Sep 17 00:00:00 2001 From: Costa Shulyupin Date: Sun, 29 Jul 2018 16:02:21 +0300 Subject: [PATCH] space fix --- srcxray.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/srcxray.py b/srcxray.py index b204f99..930be36 100755 --- a/srcxray.py +++ b/srcxray.py @@ -301,9 +301,9 @@ def includes(a): if res and len(res) > 1: r = set() for f in res: - # log('grep " %s \+\(" --include "%s" -r /usr/include/'%(a,f)) + # log('grep " %s \+\(" --include "%s" -r /usr/include/'%(a, f)) # log(os.system( - # 'grep -w "%s" --include "%s" -r /usr/include/'%(a,f))) + # 'grep -w "%s" --include "%s" -r /usr/include/'%(a, f))) if 0 != os.system( 'grep " %s *(" --include "%s" -r /usr/include/ -q' % (a, os.path.basename(f))): @@ -363,7 +363,7 @@ def syscalls(): v.add(syscall) p2 = '/'.join(path[1:]) p2 = m.group(1) - # if log(difflib.get_close_matches(syscall,v) or ''): + # if log(difflib.get_close_matches(syscall, v) or ''): # log(syscall) # log(syscall + ' ' + (includes.get(syscall) or '------')) # man -s 2 timerfd_settime | head -n 20 @@ -382,9 +382,9 @@ def syscalls(): # write_dot to_agraph AGraph # agwrite # srcxray.py 'write_dot(syscalls(), "syscalls.dot")' -# srcxray.py "write_dot(import_cflow(),'a.dot')" +# srcxray.py "write_dot(import_cflow(), 'a.dot')" # write_graphml -# F=sys_mount; srcxray.py "digraph_print(import_cflow(),['$F'])" > $F.tree +# F=sys_mount; srcxray.py "digraph_print(import_cflow(), ['$F'])" > $F.tree # srcxray.py "leaves(read_dot('a.dot'))" # srcxray.py "most_used(read_dot('a.dot'))" # srcxray.py "digraph_print(read_dot('a.dot'))"