Correct indentation in python sample code