Show More
@@ -137,7 +137,11 b' def gettimer(ui, opts=None):' | |||||
137 | opts = {} |
|
137 | opts = {} | |
138 | # redirect all to stderr |
|
138 | # redirect all to stderr | |
139 | ui = ui.copy() |
|
139 | ui = ui.copy() | |
140 | ui.fout = ui.ferr |
|
140 | uifout = safeattrsetter(ui, 'fout', ignoremissing=True) | |
|
141 | if uifout: | |||
|
142 | # for "historical portability": | |||
|
143 | # ui.fout/ferr have been available since 1.9 (or 4e1ccd4c2b6d) | |||
|
144 | uifout.set(ui.ferr) | |||
141 |
|
145 | |||
142 | # get a formatter |
|
146 | # get a formatter | |
143 | uiformatter = getattr(ui, 'formatter', None) |
|
147 | uiformatter = getattr(ui, 'formatter', None) |
General Comments 0
You need to be logged in to leave comments.
Login now