lib/log.py
changeset 30 b1d5c32ab771
parent 29 990300aa8010
equal deleted inserted replaced
29:990300aa8010 30:b1d5c32ab771
    56         if g.out_depth != len(stack) :
    56         if g.out_depth != len(stack) :
    57             for segment in stack[g.out_depth:] :
    57             for segment in stack[g.out_depth:] :
    58                 print "%sd %s" % (" "*g.out_depth, segment)
    58                 print "%sd %s" % (" "*g.out_depth, segment)
    59                 g.out_depth += 1
    59                 g.out_depth += 1
    60 
    60 
    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 :