On 07/25/2012 02:50 PM, Luiz Capitulino wrote: > Previously, developers had to create error dicts manually and also enter > the matching desc table entry. Thus, qerro_abort() was added to help
s/qerro_/qerror_/ > catching bad error dicts. > > Today, all that stuff is generated automatically which makes the chance > of a bad generated dict quite low. > > Also, qerror_abort() would... _abort_ on a bad error dict! > > This commit maintains the same verification logic on the error object > but drops the abort() in favor of reporting UndefinedError for bad dicts > (and also print a debug message to stderr). > > Signed-off-by: Luiz Capitulino <lcapitul...@redhat.com> > --- -- Eric Blake ebl...@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature