def clean_whitespace(text):

    return ' '.join(text.split())
Removes the hardware rule to disable the hardware activation switch
dataset/ETHPy150Open cynddl/sublime-text-merlin/merlin/helpers.py/clean_whitespace--crossover with--dataset/ETHPy150Open missionpinball/mpf/mpf/devices/diverter.py/Diverter.disable_hw_switches