##// END OF EJS Templates
profiling: obtain stderr from ui...
Yuya Nishihara -
r30322:189a1030 default
parent child Browse files
Show More
@@ -9,7 +9,6 b' from __future__ import absolute_import, '
9
9
10 import contextlib
10 import contextlib
11 import os
11 import os
12 import sys
13 import time
12 import time
14
13
15 from .i18n import _
14 from .i18n import _
@@ -136,7 +135,7 b' def profile(ui):'
136 path = ui.expandpath(output)
135 path = ui.expandpath(output)
137 fp = open(path, 'wb')
136 fp = open(path, 'wb')
138 else:
137 else:
139 fp = sys.stderr
138 fp = ui.ferr
140
139
141 try:
140 try:
142 if profiler == 'ls':
141 if profiler == 'ls':
General Comments 0
You need to be logged in to leave comments. Login now