Remove extra .splitlines(), Fix #4720
Merge pull request #5037 from basepi/unused4720

Remove extra .splitlines(), Fix #4720