##// END OF EJS Templates
profiling: move 'fp' closing logic into its own function...
marmoute -
r32804:c0b2c8f2 default
parent child Browse files
Show More
@@ -218,4 +218,7 b' class profile(object):'
218 # so we need to escape any % signs.
218 # so we need to escape any % signs.
219 val = val.replace('%', '%%')
219 val = val.replace('%', '%%')
220 self._ui.log('profile', val)
220 self._ui.log('profile', val)
221 self._fp.close()
221 self._closefp()
222
223 def _closefp(self):
224 self._fp.close()
General Comments 0
You need to be logged in to leave comments. Login now