[node-patches] Change in ovirt-node[master]: Workaround missing subprocess.check_output on Python 2.6

mburns at redhat.com mburns at redhat.com
Mon Jun 24 23:31:53 UTC 2013


Michael Burns has submitted this change and it was merged.

Change subject: Workaround missing subprocess.check_output on Python 2.6
......................................................................


Workaround missing subprocess.check_output on Python 2.6

EL6 and derivatives can't use subprocess.check_output, since it
was not added until Python 2.7. Silently redirect them to the
existing ovirt.node.utils.process.pipe() function if they're on
Python 2.6

Change-Id: Ia201854707fd1300766488d8094585b90b868b3c
Signed-off-by: Ryan Barry <rbarry at redhat.com>
---
M src/ovirt/node/utils/process.py
M src/ovirt/node/utils/system.py
2 files changed, 10 insertions(+), 0 deletions(-)

Approvals:
  Michael Burns: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia201854707fd1300766488d8094585b90b868b3c
Gerrit-PatchSet: 6
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Ryan Barry <rbarry at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at fedoraproject.org>
Gerrit-Reviewer: Michael Burns <mburns at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the node-patches mailing list