def update_parents(node, diff):
        "Add in difference to node and parents."
        while not node.root:
            node.total_size += diff
            node = node.parent
Add in difference to node and parents.
recipes/Python/577632_Directory_Pruner_1/recipe-577632.py