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):
try:
out_string = out.read()
finally:
out.stdin.close()
out.stdout.close()
out.stderr.close()
out.close()
result = RE_VERSION.search(out_string)
if result is 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