Closing pool explicitly may cause some exceptions on certain Pythons, disable for now.

This commit is contained in:
Michael DeHaan 2012-10-25 09:07:33 -04:00
parent 895715b65b
commit ffca0283b0

View file

@ -565,7 +565,6 @@ class Runner(object):
p = multiprocessing.Pool(self.forks)
try:
result = p.map(_executor_hook, hosts)
p.close()
except KeyboardInterrupt:
p.terminate()
raise errors.AnsibleError("Interrupted")