trepan/processor/cmdproc.py
def run_hooks(obj, hooks, *args):
    """Run each function in `hooks' with args"""
    for hook in hooks:
        if hook(obj, *args): return True
        pass
    return False
def run_hooks(obj, hooks, *args):
    """Run each function in `hooks' with args"""
    for hook in hooks:
        if hook(obj, *args): return True
        pass
    return False
def run_hooks ( obj , hooks , * args ) : for hook in hooks : if hook ( obj , * args ) : return True pass return False
Run each function in `hooks' with args
Run each function in hooks with args