Jarod.w has posted comments on this change.
Change subject: vdsm: replace rpm commandline with rpm-python api in caps.py
......................................................................
Patch Set 2: (1 inline comment)
....................................................
File vdsm/caps.py
Line 313:
Line 314: try:
Line 315: ts = rpm.TransactionSet()
Line 316: for pkg in KEY_PACKAGES:
Line 317: for r in ts.dbMatch('name', pkg):
I am so sorry for that. I'll correct it.
Line 318: v = r['version']
Line 319: r = r['release']
Line 320: t = r['buildtime']
Line 321: pkgs[pkg] = dict(version=v, release=r, buildtime=t)
--
To view, visit http://gerrit.ovirt.org/7856
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I7745028553d7af54fab19fa0ef4402357f36ebb9
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Jarod.w <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Jarod.w <[email protected]>
Gerrit-Reviewer: Yaniv Bronhaim <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches