equal
deleted
inserted
replaced
28 node = None |
28 node = None |
29 |
29 |
30 def title (title, *args) : |
30 def title (title, *args) : |
31 stack.append(title) |
31 stack.append(title) |
32 |
32 |
33 print "%s- %s" % (" "*g.out_depth, title % args) |
33 print "%s - %s" % (" "*g.out_depth, title % args) |
34 |
34 |
35 g.out_depth += 1 |
35 g.out_depth += 1 |
36 |
36 |
37 def down (dir_name, *args) : |
37 def down (dir_name, *args) : |
38 stack.append(dir_name % args) |
38 stack.append(dir_name % args) |
61 if g.node : |
61 if g.node : |
62 print "%sf %s" % (" "*g.out_depth, g.node) |
62 print "%sf %s" % (" "*g.out_depth, g.node) |
63 g.node = None |
63 g.node = None |
64 |
64 |
65 if wait : |
65 if wait : |
66 print "%s- %s..." % (" "*g.out_depth, message % args), |
66 print "%s - %s..." % (" "*g.out_depth, message % args), |
67 sys.stdout.flush() |
67 sys.stdout.flush() |
68 else : |
68 else : |
69 print "%s- %s" % (" "*g.out_depth, message % args) |
69 print "%s - %s" % (" "*g.out_depth, message % args) |
70 |
70 |
71 def _level (level) : |
71 def _level (level) : |
72 def _log_func (message, *args, **kwargs) : |
72 def _log_func (message, *args, **kwargs) : |
73 log(level, message, *args, **kwargs) |
73 log(level, message, *args, **kwargs) |
74 |
74 |