equal
deleted
inserted
replaced
1238 fm.condwrite(err, 'encodingerror', _(" %s\n" |
1238 fm.condwrite(err, 'encodingerror', _(" %s\n" |
1239 " (check that your locale is properly set)\n"), err) |
1239 " (check that your locale is properly set)\n"), err) |
1240 |
1240 |
1241 # Python |
1241 # Python |
1242 fm.write('pythonexe', _("checking Python executable (%s)\n"), |
1242 fm.write('pythonexe', _("checking Python executable (%s)\n"), |
1243 pycompat.sysexecutable) |
1243 pycompat.sysexecutable or _("unknown")) |
1244 fm.write('pythonver', _("checking Python version (%s)\n"), |
1244 fm.write('pythonver', _("checking Python version (%s)\n"), |
1245 ("%d.%d.%d" % sys.version_info[:3])) |
1245 ("%d.%d.%d" % sys.version_info[:3])) |
1246 fm.write('pythonlib', _("checking Python lib (%s)...\n"), |
1246 fm.write('pythonlib', _("checking Python lib (%s)...\n"), |
1247 os.path.dirname(pycompat.fsencode(os.__file__))) |
1247 os.path.dirname(pycompat.fsencode(os.__file__))) |
1248 |
1248 |