def stop_int_macro(line):
    global int_macro_dict
    global loaded_int_macros
    if not line:
        raise PappyException('You must give an intercepting macro to run. You can give its short name, or the name in the filename.')
    if line not in int_macro_dict:
        raise PappyException('%s not a loaded intercepting macro' % line)
    macro = int_macro_dict[line]
    remove_intercepting_macro(macro.name)
    print '"%s" stopped' % macro.name
Stop a running intercepting macro
dataset/ETHPy150Open roglew/pappy-proxy/pappyproxy/plugins/macrocmds.py/stop_int_macro