def on_exit(old_state, event):
    LOG.debug("Exiting old state '%s' in response to event '%s'",
              old_state, event)
script main.
dataset/ETHPy150Open openstack/ironic/ironic/common/states.py/on_exit--crossover with--dataset/ETHPy150Open CGATOxford/cgat/scripts/beds2beds.py/main