Fix converting to Unix LF
This commit is contained in:
parent
569f422828
commit
ca2d1c899f
@ -562,7 +562,7 @@ class OOMEntity:
|
|||||||
|
|
||||||
def __init__(self, text):
|
def __init__(self, text):
|
||||||
# use Unix LF only
|
# use Unix LF only
|
||||||
text = text.replace('\r\n', '\r')
|
text = text.replace('\r\n', '\n')
|
||||||
text = text.strip()
|
text = text.strip()
|
||||||
oom_lines = text.split('\n')
|
oom_lines = text.split('\n')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user