comparison mercurial/lock.py @ 32805:2b0fc56840d0

profile: use explicit logic to control file closing We make the decision to close 'fp' more explicit instead of relying on the implication of other variable. This makes the overall logic more robust.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 12 Jun 2017 17:14:56 +0200
parents 0d892d820a51
children 1b758105b5c7
comparison
equal deleted inserted replaced
32804:c0b2c8f25ad9 32805:2b0fc56840d0