def crlf2lf(s):
    if s is None:
        return None
    if not s:
        return ''
    return s.replace('\r\n', '\n')
CRLF -> LF
dataset/ETHPy150Open SublimeHaskell/SublimeHaskell/sublime_haskell_common.py/crlf2lf