refactor towards pep8
Merge pull request #1 from tdsmith/pep8

refactor towards pep8