D1895: lsprof: use native string when peeking in __dict__

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Thu Feb 1 20:39:24 UTC 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG99ffac2da488: lsprof: use native string when peeking in __dict__ (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1895?vs=4885&id=5064

REVISION DETAIL
  https://phab.mercurial-scm.org/D1895

AFFECTED FILES
  mercurial/lsprof.py

CHANGE DETAILS

diff --git a/mercurial/lsprof.py b/mercurial/lsprof.py
--- a/mercurial/lsprof.py
+++ b/mercurial/lsprof.py
@@ -27,7 +27,7 @@
     def __init__(self, data):
         self.data = data
 
-    def sort(self, crit="inlinetime"):
+    def sort(self, crit=r"inlinetime"):
         """XXX docstring"""
         # profiler_entries isn't defined when running under PyPy.
         if profiler_entry:



To: durin42, #hg-reviewers, pulkit, indygreg
Cc: pulkit, mercurial-devel


More information about the Mercurial-devel mailing list