comparison mercurial/sshpeer.py @ 48488:f8540fe4be0f

procutil: avoid an uninitialized variable usage on tempfile exception If `pycompat.unnamedtempfile()` raises an exception, it would have called `stdin.close()` in the `finally` block without it being initialized first. Differential Revision: https://phab.mercurial-scm.org/D11928
author Matt Harbison <matt_harbison@yahoo.com>
date Tue, 14 Dec 2021 17:29:30 -0500
parents ffd3e823a7e5
children 04688c51f81f
comparison
equal deleted inserted replaced
48487:333a2656e981 48488:f8540fe4be0f