mercurial/debugcommands.py
changeset 42530 49998d5ba66a
parent 42467 810f66b468cd
child 42580 eb7bd7d64a9d
--- a/mercurial/debugcommands.py	Thu Jun 27 11:39:35 2019 +0200
+++ b/mercurial/debugcommands.py	Tue Jun 25 19:28:41 2019 -0700
@@ -1240,7 +1240,7 @@
 
     # Python
     fm.write('pythonexe', _("checking Python executable (%s)\n"),
-             pycompat.sysexecutable)
+             pycompat.sysexecutable or _("unknown"))
     fm.write('pythonver', _("checking Python version (%s)\n"),
              ("%d.%d.%d" % sys.version_info[:3]))
     fm.write('pythonlib', _("checking Python lib (%s)...\n"),