def set_dirty_and_flush_changes(non_const_func):

    def flush_changes(self, *args, **kwargs):
        rval = non_const_func(self, *args, **kwargs)
        self._dirty = True
        self.write()
        return rval
    # END wrapper method
    flush_changes.__name__ = non_const_func.__name__
    return flush_changes
Returns the link for a comment.
dataset/ETHPy150Open gitpython-developers/GitPython/git/config.py/set_dirty_and_flush_changes--crossover with--dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/reviews/ui/base.py/ReviewUI.get_comment_link_url