mercurial/commands.py
changeset 30892 441705506d24
parent 30881 1be65deb3d54
child 30899 a8786013f056
equal deleted inserted replaced
30891:b1b36c6499c2 30892:441705506d24
  1901     fm.write('pythonexe', _("checking Python executable (%s)\n"),
  1901     fm.write('pythonexe', _("checking Python executable (%s)\n"),
  1902              pycompat.sysexecutable)
  1902              pycompat.sysexecutable)
  1903     fm.write('pythonver', _("checking Python version (%s)\n"),
  1903     fm.write('pythonver', _("checking Python version (%s)\n"),
  1904              ("%d.%d.%d" % sys.version_info[:3]))
  1904              ("%d.%d.%d" % sys.version_info[:3]))
  1905     fm.write('pythonlib', _("checking Python lib (%s)...\n"),
  1905     fm.write('pythonlib', _("checking Python lib (%s)...\n"),
  1906              os.path.dirname(os.__file__))
  1906              os.path.dirname(pycompat.fsencode(os.__file__)))
  1907 
  1907 
  1908     security = set(sslutil.supportedprotocols)
  1908     security = set(sslutil.supportedprotocols)
  1909     if sslutil.hassni:
  1909     if sslutil.hassni:
  1910         security.add('sni')
  1910         security.add('sni')
  1911 
  1911