Python wants TAB's and not spaces in front of the line.
“Spaces are the preferred indentation method. Tabs should be used solely to remain consistent with code that is already indented with tabs. Python disallows mixing tabs and spaces for indentation.” Furthermore, the section on Indentation states that 4 spaces per indentation level should be used