<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create_buffer(self, ignore_unsupported=False):
 """ Create this tree's TreeBuffer """

        bufferdict = OrderedDict()
        for branch in self.iterbranches():
            # only include activated branches
            if not self.GetBranchStatus(branch.GetName()):
                continue
            if not BaseTree.branch_is_supported(branch):
                log.warning(
                    "ignore unsupported branch `{0}`".format(branch.GetName()))
                continue
            bufferdict[branch.GetName()] = Tree.branch_type(branch)
        self.set_buffer(TreeBuffer(
            bufferdict,
            ignore_unsupported=ignore_unsupported))