diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2014-08-28 17:11:03 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-29 23:42:57 +0100 |
commit | abf4eb613eba0892a5f240de7aa3a9a1b2879354 (patch) | |
tree | e778b2546dbd9fc3a444cbe0b6f16d42a4fe9494 | |
parent | 7977a3c28677d9a248059b0be230f345227e798a (diff) | |
download | openembedded-core-abf4eb613eba0892a5f240de7aa3a9a1b2879354.tar.gz openembedded-core-abf4eb613eba0892a5f240de7aa3a9a1b2879354.tar.bz2 openembedded-core-abf4eb613eba0892a5f240de7aa3a9a1b2879354.zip |
lib/oe/utils: Make multiprocess_exec() return anything
The variable "results" was accidentally used for multiple different
things at the same time, which unintentionally discarded anything that
was supposed to be returned from the function...
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/lib/oe/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oe/utils.py b/meta/lib/oe/utils.py index 92e21a4e0e..35442568e2 100644 --- a/meta/lib/oe/utils.py +++ b/meta/lib/oe/utils.py @@ -167,11 +167,11 @@ def multiprocess_exec(commands, function): imap = pool.imap(function, commands) try: - results = list(imap) + res = list(imap) pool.close() pool.join() results = [] - for result in results: + for result in res: if result is not None: results.append(result) return results |