def repeater(index):
    """repeats the last command with the given index
    """
    global __last_commands__
    try:
        call_data = __last_commands__[index]
        return call_data[0](*call_data[1], **call_data[2])
    except __HOLE__:
        return None
dataset/ETHPy150Open eoyilmaz/anima/anima/env/mayaEnv/toolbox.py/repeater