bug #897 - pep8 fix

https://gist.github.com/aadamski/e6fa26c2efe7a29ac9ba