]> code.ossystems Code Review - openembedded-core.git/commit
package: correct subprocess.Popen.communicate() return values
authorVladimir Zapolskiy <vz@mleia.com>
Sat, 6 Aug 2016 01:43:29 +0000 (04:43 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 10 Aug 2016 09:45:32 +0000 (10:45 +0100)
commitcdd9bae381deb15ac84e11a39f9d72f2757c1583
tree3e30fa5f91e96d293a8275b62268ef0e9643a07e
parentf8c21df86bae5a85e221b69b91b347aeba6be4c3
package: correct subprocess.Popen.communicate() return values

This is a non-functional change, which intends to correct element
names of a tuple returned by Popen.communicate().

Both in python2 and python3 subprocess.Popen.communicate() method
returns a tuple (stdoutdata, stderrdata), thus old assignments and
collateral comments are incorrect from human's point of view, however
formally there is no error in the code.

The change is desired to have to avoid copy-paste errors in future.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/package.bbclass