def convert_new_lines(text):
    return text.replace('\r\n', '\n').replace('\r', '\n')
Convert new lines to a common format.
dataset/ETHPy150Open ARM-software/workload-automation/wlauto/utils/misc.py/convert_new_lines