Commit 9c49a045 authored by Éric Araujo's avatar Éric Araujo

Fix #10252 again (hopefully definitely). Patch by Brian Curtin.

parent dd5fb967
...@@ -377,9 +377,7 @@ def _find_exe_version(cmd): ...@@ -377,9 +377,7 @@ def _find_exe_version(cmd):
try: try:
out_string = out.read() out_string = out.read()
finally: finally:
out.stdin.close() out.close()
out.stdout.close()
out.stderr.close()
result = RE_VERSION.search(out_string) result = RE_VERSION.search(out_string)
if result is None: if result is None:
return None return None
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment