Again, unless there is a reason for `split('\n')` explicitly, I would use `splitlines()`.