Here is the updated patch as Martin had suggested that changes be made in apport/ui.py rather than in the shell wraper.
Here is the updated patch as Martin had suggested that changes be made in apport/ui.py rather than in the shell wraper.