Empty never have a diff. A bit too easy ,;-)
- Legacy-Id: 543
This commit is contained in:
parent
0e2173a060
commit
f6b1024418
|
@ -39,6 +39,7 @@ def lines(text, pre=False):
|
|||
text = text.split("\n")
|
||||
else:
|
||||
text = [ line.strip() for line in text.split("\n") if line.strip()]
|
||||
return text
|
||||
|
||||
def sorted(lst):
|
||||
lst.sort()
|
||||
|
|
Loading…
Reference in a new issue