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

Mattia Dongili malattia at linux.it
Mon Jan 31 01:53:04 UTC 2011


On Sun, Jan 30, 2011 at 10:02:56PM +0100, Riccardo Murri wrote:
> 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

I didn't have time to upload a proper fix in the past... year or two.
Post squeze hopefully I'll manage to take some more care of UML
packages. Any help is most welcome in any case.
-- 
mattia
:wq!





More information about the Pkg-uml-pkgs mailing list