D6047: procutil: use a raw string for module name
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Sun Mar 3 04:34:11 EST 2019
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
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
To: indygreg, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list