Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hgweb/server.py @ 44936:86a7b7abf28e
hgweb: avoid using `sslutil.modernssl`
`sslutil.modernssl` is going to be removed. Since the point of using this
attribute was to check the importability of the `sslutil`, a different
attribute can be used. `sslutil.wrapserversocket` is used because it?s anyway
used a few lines below.
author | Manuel Jacob <me@manueljacob.de> |
---|---|
date | Sat, 30 May 2020 04:59:13 +0200 |
parents | 9f70512ae2cf |
children | dd3050227a84 |
line wrap: on
line diff