comparison mercurial/sslutil.py @ 29410:222f6834c69a

sslutil: remove out of place comment This comment likely got orphaned as a result of refactoring in this file. It isn't providing any useful value. So delete it.
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 25 Jun 2016 07:32:02 -0700
parents 98e8313dcd9e
children e1778b9c8d53
comparison
equal deleted inserted replaced
29409:d2c375071d16 29410:222f6834c69a
326 if matchdnsname(certname): 326 if matchdnsname(certname):
327 return None 327 return None
328 return _('certificate is for %s') % certname 328 return _('certificate is for %s') % certname
329 return _('no commonName or subjectAltName found in certificate') 329 return _('no commonName or subjectAltName found in certificate')
330 330
331
332 # CERT_REQUIRED means fetch the cert from the server all the time AND
333 # validate it against the CA store provided in web.cacerts.
334
335 def _plainapplepython(): 331 def _plainapplepython():
336 """return true if this seems to be a pure Apple Python that 332 """return true if this seems to be a pure Apple Python that
337 * is unfrozen and presumably has the whole mercurial module in the file 333 * is unfrozen and presumably has the whole mercurial module in the file
338 system 334 system
339 * presumably is an Apple Python that uses Apple OpenSSL which has patches 335 * presumably is an Apple Python that uses Apple OpenSSL which has patches