On Thu, Sep 17, 2009 at 10:01:20PM +0100, Guido Trotter wrote:
> 
> On Thu, Sep 17, 2009 at 9:49 PM, Iustin Pop <[email protected]> wrote:
> > On Thu, Sep 17, 2009 at 09:43:21PM +0100, Guido Trotter wrote:
> >>
> >> On Thu, Sep 17, 2009 at 5:34 PM, Flavio Silvestrow
> >> <[email protected]> wrote:
> >> > +"""
> >> > +
> >> > +
> >> > +from ganeti import errors
> >>
> >> we could do perhaps
> >> from ganeti import errors as ganeti_errors
> >> and
> >> from nbma import errors (see below)
> >> so we can define our own errors.
> >
> > *if* (and only if) these utils will always be installed together with 
> > ganeti,
> > it's acceptable to have a single errors module.
> >
> > if not, of course you'll need a completely separate set of errors.
> >
> 
> Currently we plan on depending on Ganeti (or at least parts of its
> libraries), so using parts of the codes/errors is fine.
> But I'd still like to make sure that the proper errors are used,
> rather than redefining the meaning of ganeti errors with a different
> purpose!

Agreed, indeed!

iustin

Reply via email to