[SRU intrepid] python-uniconvertor exits interpreter on import
Nominated for Intrepid by Andreas Wenning
Original bug description:
uniconvertor's __init__.py unconditionally tests sys.argv, and if it is found lacking (wrong number of args, etc.), the script calls sys.exit. This wouldn't be much of a problem except that when you run 'help("modules")' in the Python interpreter, it tries to import every module it can find, and when it imports uniconvertor, the interpreter suddenly quits. (Tangentially, this also breaks zsh's tab-completion script for arguments to 'python -m'.)
Installation of this package breaks certain python features, like help("modules") and has an impact on tab completion as well.
The bug is fixed in version 1.1.3-4 in jaunty. This minimal patch attached here is pending in testing-
Start python and run help("modules") or import uniconvertor. Before installing the proposed version the python interpreter exits unexpectedly. After installing the proposed version the commands works as they respectively should.
The package has one and only one usage; running it from command-line with two arguments input-file and output-file. As this usecase can be verified as still working fully, there is no regression potential in this patch.