Fixing Python indentation, and typo