Why don't you post the original broken Python code.