diff options
Diffstat (limited to 'meta/lib/oe/utils.py')
-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): | |||
167 | imap = pool.imap(function, commands) | 167 | imap = pool.imap(function, commands) |
168 | 168 | ||
169 | try: | 169 | try: |
170 | results = list(imap) | 170 | res = list(imap) |
171 | pool.close() | 171 | pool.close() |
172 | pool.join() | 172 | pool.join() |
173 | results = [] | 173 | results = [] |
174 | for result in results: | 174 | for result in res: |
175 | if result is not None: | 175 | if result is not None: |
176 | results.append(result) | 176 | results.append(result) |
177 | return results | 177 | return results |