Restore warning state variable that got lost in refactoring.

pull/373/head
Jussi Pakkanen 9 years ago
parent 8cd3c8124a
commit c87835080d
  1. 2
      mesonbuild/wrap/wrap.py

@ -25,6 +25,8 @@ except ImportError:
has_ssl = False
API_ROOT = 'http://wrapdb.mesonbuild.com/v1/'
ssl_warning_printed = False
def build_ssl_context():
ctx = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
ctx.options |= ssl.OP_NO_SSLv2

Loading…
Cancel
Save