[Freeipa-devel] [PATCH] Import missing 'errors' module.

Rob Crittenden rcritten at redhat.com
Fri Apr 3 13:24:23 UTC 2009


Jason Gerard DeRose wrote:
> On Thu, 2009-04-02 at 17:06 +0200, Pavel Zuna wrote:
>> Pavel
> 
> nack.  The errors module is depreciated, uses the old non-i18n friendly
> errors classes.  If cli.py is referencing exceptions in errors.py, they
> should be changed to an equivalent exception in errors2.py (which we
> will create if needed).
> 
> I'll try to clean the errors/errors2 mess up today.  It's been on my
> todo list for a while, but I've been busy with UI work.

I took a short-term view on this too. Adding an errors import doesn't 
fix the underlying problem but it does make the code stop throwing an 
exception.

rob




More information about the Freeipa-devel mailing list