statprof: fix indent level of fp.write() (issue6004)
authorYuya Nishihara <yuya@tcha.org>
Sat, 20 Oct 2018 20:15:48 +0900
changeset 40384 fc4c598dd4a0
parent 40383 a9e303dcd1e1
child 40385 cc4586749c8c
statprof: fix indent level of fp.write() (issue6004) It was changed at 9d3034348c4f by mistake.
mercurial/statprof.py
--- 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: