Empty never have a diff. A bit too easy ,;-)

- Legacy-Id: 543
This commit is contained in:
Henrik Levkowetz 2007-06-19 23:52:06 +00:00
parent 0e2173a060
commit f6b1024418

View file

@ -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()