changed pep8 errors

https://bugzilla.stxnext.pl/show_bug.cgi?id=1411

changed pep8 bugs