indentation fixes for the last commit

During the PEP8 conversion, I introduced some errors with the python indentation. Hopefully its fixed now.