def key_name(name):
    name = attr_name(name)

    if name.endswith("_"):
        return name[:-1]

    return name
Restart a supervisor process
dataset/ETHPy150Open STIXProject/python-stix/stix/utils/__init__.py/key_name--crossover with--dataset/ETHPy150Open ronnix/fabtools/fabtools/supervisor.py/restart_process