Change in otopi[master]: packagers: yum: detect failures during installation

Alon Bar-Lev alonbl at redhat.com
Mon Jan 7 13:29:55 UTC 2013


Alon Bar-Lev has submitted this change and it was merged.

Change subject: packagers: yum: detect failures during installation
......................................................................


packagers: yum: detect failures during installation

yum does not raises an exception during process transaction if one or
more of packages return an error during installation.

So detect the error condition based on error log.

Change-Id: Icb6c927b6494f3d59ea30f8878c8cdbe21a7d8a4
Signed-off-by: Alon Bar-Lev <alonbl at redhat.com>
---
M src/plugins/otopi/packagers/miniyum.py
M src/plugins/otopi/packagers/miniyumlocal.py
2 files changed, 27 insertions(+), 2 deletions(-)

Approvals:
  Alon Bar-Lev: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/10717
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Icb6c927b6494f3d59ea30f8878c8cdbe21a7d8a4
Gerrit-PatchSet: 2
Gerrit-Project: otopi
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>



More information about the Engine-commits mailing list