changeset 40384:fc4c598dd4a0

statprof: fix indent level of fp.write() (issue6004) It was changed at 9d3034348c4f by mistake.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 20 Oct 2018 20:15:48 +0900
parents a9e303dcd1e1
children cc4586749c8c
files mercurial/statprof.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/statprof.py	Fri Oct 19 22:31:47 2018 -0400
+++ b/mercurial/statprof.py	Sat Oct 20 20:15:48 2018 +0900
@@ -704,7 +704,7 @@
             # Make frames that didn't actually perform work dark grey
             elif node.count - childrensamples == 0:
                 finalstring = '\033[90m' + finalstring + '\033[0m'
-                fp.write(finalstring + b'\n')
+            fp.write(finalstring + b'\n')
 
         newdepth = depth
         if len(visiblechildren) > 1 or multiple_siblings: