def split_first_key(values, key):
    try:
        index = values.index(key)
        return (values[:index], values[index+1:])
    except __HOLE__:
        return (values, None)
dataset/ETHPy150Open mikrosimage/OpenRenderManagement/src/pulitools/puliexec/puliexec.py/split_first_key