On Mon, Feb 25, 2008 at 12:59:49PM +0200, Panu Matilainen wrote:
> Rpm already has an "error event" callback via rpmlog, only it's not 
> exposed to python at all. That's about to change in the next major version 
> but right now, for 4.4.2.x and older, I think your best bet is just to 
> look at the None vs [] value on ts.run() return :-/ FWIW that's more or 
> less what apt does (ignoring C vs python API differences) and reports 
> "some errors occurred within transaction" in these cases. It's not much, 
> but it's still better than saying "everything ok" when its not.

Thanks Panu. You are now officially my hero. Do you have autographed 8x10s?


-- 
Matthew Miller           [EMAIL PROTECTED]          <http://mattdm.org/>
Boston University Linux      ------>              <http://linux.bu.edu/>
_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Reply via email to