temple/check.py
def not_has_branch(branch):
    """Raises `ExistingBranchError` if the specified branch exists."""
    if _has_branch(branch):
        msg = 'Cannot proceed while {} branch exists; remove and try again.'.format(branch)
        raise temple.exceptions.ExistingBranchError(msg)
def not_has_branch(branch):
    """Raises `ExistingBranchError` if the specified branch exists."""
    if _has_branch(branch):
        msg = 'Cannot proceed while {} branch exists; remove and try again.'.format(branch)
        raise temple.exceptions.ExistingBranchError(msg)
def not_has_branch ( branch ) : if _has_branch ( branch ) : msg = 'Cannot proceed while {} branch exists; remove and try again.' . format ( branch ) raise temple . exceptions . ExistingBranchError ( msg )
Raises `ExistingBranchError` if the specified branch exists.
Raises ExistingBranchError if the specified branch exists .