Another style point: You used full tabs here. FSA uses 4-spaces as "tab" for indentation in python files.