[Pkg-uml-pkgs] Bug#585352: rootstrap: Python string exceptions no more allowed in Python 2.6

Riccardo Murri riccardo.murri at gmail.com
Sun Jan 30 21:02:56 UTC 2011


As of rootstrap 0.3.24-5, any failure in a rootstrap module triggers
throwing a string exception in builder.  With Python 2.6, this gets
particularly annoying since the interpreter throws a TypeError
("exceptions must be old-style classes or derived from BaseException,
not str") that masks rootstrap's error message.

Please find attached a patch against the builder script of 0.3.24-5

Cheers,
Riccardo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rootstrap.patch
Type: text/x-patch
Size: 647 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-uml-pkgs/attachments/20110130/f524ed52/attachment.bin>


More information about the Pkg-uml-pkgs mailing list