def tree_climber(self, tree_alias, base_item):
if base_item is not None:<EOL><INDENT>base_item.in_current_branch = True<EOL>if hasattr(base_item, '<STR_LIT>') and base_item.parent is not None:<EOL><INDENT>self.tree_climber(tree_alias, self.get_item_by_id(tree_alias, base_item.parent.id))<EOL><DEDENT><DEDENT>
Climbs up the site tree to mark items of current branch.

        :param str|unicode tree_alias:
        :param TreeItemBase base_item: