Bug 3033 adapting to pep8 standard

https://gist.github.com/mjelonek92/dabac29ef0bd3e8ac22a