Made python compatiple to PEP 8