Change in otopi[master]: packagers: yum: support the async URLGrabber

Alon Bar-Lev alonbl at redhat.com
Sun Jan 6 21:41:51 UTC 2013


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

Change subject: packagers: yum: support the async URLGrabber
......................................................................


packagers: yum: support the async URLGrabber

yum uses python-urlgrabber to grab files, but does not allow setting the
meter for parallel fetch.

The detection if parallel fetch is to be used is not configurable, so we
hack a private member to force blocking download.

The progress callback broke  because of python-urlgrabber or yum change,
hopping this modification will be sufficient to avoid future behaviour
breakage.

Change-Id: I41557b1ed5f44d685e5305909b3914e2fcf4ce0a
Signed-off-by: Alon Bar-Lev <alonbl at redhat.com>
---
M src/plugins/otopi/packagers/miniyum.py
1 file changed, 14 insertions(+), 0 deletions(-)

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


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I41557b1ed5f44d685e5305909b3914e2fcf4ce0a
Gerrit-PatchSet: 1
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