def show_tree(repo, tree, decode, outstream=sys.stdout):
 for n in tree:
  outstream.write((decode(n) + '\n'))

def show_tree ( repo , tree , decode , outstream = sys . stdout ) : for n in tree : outstream . write ( ( decode ( n ) + '\n' ) )
print a tree to a stream .