Yaniv Bronhaim has posted comments on this change.

Change subject: compat: py3: capture output of CPopen.communicate
......................................................................


Patch Set 2:

(1 comment)

https://gerrit.ovirt.org/#/c/61393/2/lib/vdsm/compat.py
File lib/vdsm/compat.py:

Line 51:             if 'stderr' not in kwargs:
Line 52:                 kwargs['stderr'] = subprocess.PIPE
Line 53:             if 'stdout' not in kwargs:
Line 54:                 kwargs['stdout'] = subprocess.PIPE
Line 55:             subprocess.Popen.__init__(self, args, **kwargs)
please set explicitly stderr and stdout to PIPE in execCmd - that way only 
direct usages in CPopen which we don't have, will need this compat logic
Line 56: 
Line 57: try:
Line 58:     from contextlib import suppress
Line 59:     suppress  # make pyflakes happy


-- 
To view, visit https://gerrit.ovirt.org/61393
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Iac9c1c1bd3ca1902103fac1f8675b7d42ca78a33
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dan Kenigsberg <dan...@redhat.com>
Gerrit-Reviewer: Irit Goihman <igoih...@redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Yaniv Bronhaim <ybron...@redhat.com>
Gerrit-Reviewer: gerrit-hooks <automat...@ovirt.org>
Gerrit-HasComments: Yes
_______________________________________________
vdsm-patches mailing list
vdsm-patches@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/vdsm-patches@lists.fedorahosted.org

Reply via email to