Simplify code to unwind #012/LF
This commit is contained in:
parent
7fbbeace61
commit
08f7669654
@ -271,9 +271,7 @@ class OOMEntity(object):
|
|||||||
|
|
||||||
for line in oom_lines:
|
for line in oom_lines:
|
||||||
if '#012' in line:
|
if '#012' in line:
|
||||||
line = line.replace('#012', '\r')
|
lines.extend(line.split('#012'))
|
||||||
expanded = line.split('\r')
|
|
||||||
lines.extend(expanded)
|
|
||||||
else:
|
else:
|
||||||
lines.append(line)
|
lines.append(line)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user