changeset 46958 | 5a6a1cd21f09 |
parent 44192 | d6d4170882cd |
child 48875 | 6000f5b25c9b |
--- a/mercurial/profiling.py Wed Apr 14 20:57:34 2021 +0200 +++ b/mercurial/profiling.py Wed Apr 14 21:02:38 2021 +0200 @@ -228,7 +228,7 @@ if self._output == b'blackbox': self._fp = util.stringio() elif self._output: - path = self._ui.expandpath(self._output) + path = util.expandpath(self._output) self._fp = open(path, b'wb') elif pycompat.iswindows: # parse escape sequence by win32print()