'Print the tree similar to zpool status'

@staticmethod
def pprint(node, level=0):

    print (('            ' * level) + node.name)
    for child in node.children:
        node.pprint(child, (level + 1))
