Removed dead code from Python code generator.

Removed procedure bad_case2 from Python code generator.