Fix coding style according to PEP8
The pep8 tool shows several minor PEP8 violations. Fixing these violations would makes it easier for future developers (including me) to check whether their patches are according to the PEP8 without having to ignore existing violations. Also having existing violations gives future developers less incentive to fix violations they introduce.