mercurial/utils/procutil.py
changeset 43655 ef43765c921d
parent 43506 9f70512ae2cf
child 43656 47d983f0af65
--- a/mercurial/utils/procutil.py	Thu Nov 14 13:38:17 2019 -0500
+++ b/mercurial/utils/procutil.py	Thu Nov 14 14:03:02 2019 -0800
@@ -289,7 +289,7 @@
         elif (
             not pycompat.iswindows
             and os.path.basename(
-                pycompat.fsencode(getattr(mainmod, '__file__', b''))
+                pycompat.fsencode(getattr(mainmod, '__file__', ''))
             )
             == b'hg'
         ):