pep8 fixes

https://gist.github.com/matlobocki/6b0ea52fce21d0296280
test