Patchwork D6047: procutil: use a raw string for module name

login
register
mail settings
Submitter phabricator
Date March 3, 2019, 9:34 a.m.
Message ID <a78592c34aa17dccebb580e5a7d19af6@localhost.localdomain>
Download mbox | patch
Permalink /patch/39013/
State Not Applicable
Headers show

Comments

phabricator - March 3, 2019, 9:34 a.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGb275dbb60089: procutil: use a raw string for module name (authored by indygreg, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6047?vs=14296&id=14312

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

AFFECTED FILES
  mercurial/utils/procutil.py

CHANGE DETAILS




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

Patch

diff --git a/mercurial/utils/procutil.py b/mercurial/utils/procutil.py
--- a/mercurial/utils/procutil.py
+++ b/mercurial/utils/procutil.py
@@ -221,7 +221,7 @@ 
     """
     return (pycompat.safehasattr(sys, "frozen") or # new py2exe
             pycompat.safehasattr(sys, "importers") or # old py2exe
-            imp.is_frozen(u"__main__")) # tools/freeze
+            imp.is_frozen(r"__main__")) # tools/freeze
 
 _hgexecutable = None