diff mercurial/minirst.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 9d08283946f0
children 0fa781320203
line wrap: on
line diff