Fix converting to Unix LF

This commit is contained in:
Carsten Grohmann 2021-12-23 13:18:38 +01:00
parent 569f422828
commit ca2d1c899f

View File

@ -562,7 +562,7 @@ class OOMEntity:
def __init__(self, text):
# use Unix LF only
text = text.replace('\r\n', '\r')
text = text.replace('\r\n', '\n')
text = text.strip()
oom_lines = text.split('\n')