pep8 cleanup to make pylint happy. fixes issue #12