##// 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 class profile(object):
218 218 # so we need to escape any % signs.
219 219 val = val.replace('%', '%%')
220 220 self._ui.log('profile', val)
221 self._closefp()
222
223 def _closefp(self):
221 224 self._fp.close()
General Comments 0
You need to be logged in to leave comments. Login now