Convert splitlines to for-loop (handles case where input does not have a trailing newline).
1 file changed