Pep8 python style guide has some example on how these lines are better indented.
http://www.python.org/dev/peps/pep-0008/#indentation


You can also use a tool like flake8 to check your code