summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael DeHaan <michael.dehaan@gmail.com>2013-07-05 01:20:08 -0400
committerMichael DeHaan <michael@ansibleworks.com>2013-07-04 21:30:49 -0400
commit3dd93ee2e4475c7e9f14387aa5bfdf70e7a7f6aa (patch)
tree6fc9fa5d3d8324fc2b837160f7acdfc1ed5c8815
parentf782c237c486edc42076d4933739d45a6b42f0a2 (diff)
downloadansible-3dd93ee2e4475c7e9f14387aa5bfdf70e7a7f6aa.tar.gz
Closing stdin too early.
-rw-r--r--lib/ansible/runner/__init__.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/ansible/runner/__init__.py b/lib/ansible/runner/__init__.py
index afb7c12a53..701abb087f 100644
--- a/lib/ansible/runner/__init__.py
+++ b/lib/ansible/runner/__init__.py
@@ -74,8 +74,6 @@ def _executor_hook(job_queue, result_queue, new_stdin):
pass
except:
traceback.print_exc()
- if new_stdin:
- new_stdin.close()
class HostVars(dict):
''' A special view of setup_cache that adds values from the inventory when needed. '''