Got rid of trailing newlines

Fixes pep8 error W391.