pep8 fixes
Merge pull request #1 from matlobocki/bug_2972

pep8 fixes