Mercurial > hg
comparison mercurial/dummycert.pem @ 49383:de2e158c380a
sslutil: another use proper attribute to select python 3.7+
The previous attribute was python 3.6+, but guarded a python 3.7+ block
Using the correct attribute avoids:
+ File "/tmp/hgtests.bc0_uk2d/install/lib/python/mercurial/sslutil.py", line 577, in wrapserversocket
+ sslcontext.minimum_version = ssl.TLSVersion.TLSv1_1
+ AttributeError: module 'ssl' has no attribute 'TLSVersion'
author | Ondrej Pohorelsky <opohorel@redhat.com> |
---|---|
date | Wed, 13 Jul 2022 18:27:40 +0200 |
parents | d7f7f1860f00 |
children |
comparison
equal
deleted
inserted
replaced
49382:eec5e00e782d | 49383:de2e158c380a |
---|