

def abort(message, log=None, type=None):
    a = Aborted()
    a.message = message
    a.log = log
    settings.abort_handler(a, type=type)

dataset/ETHPy150Open kennethreitz/legit/legit/scm.py abort/original