aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2016-01-27 21:53:14 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2016-01-27 21:53:14 +0200
commitc87835080de70d3accd70b6e1c54815d5ad22732 (patch)
treede96219083f0991b75a2b8942d775ca7a6326380
parent8cd3c8124a17f3987f507e2aee0562836af3b309 (diff)
downloadmeson-c87835080de70d3accd70b6e1c54815d5ad22732.zip
meson-c87835080de70d3accd70b6e1c54815d5ad22732.tar.gz
meson-c87835080de70d3accd70b6e1c54815d5ad22732.tar.bz2
Restore warning state variable that got lost in refactoring.
-rw-r--r--mesonbuild/wrap/wrap.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/wrap/wrap.py b/mesonbuild/wrap/wrap.py
index 2818fa0..ad8f106 100644
--- a/mesonbuild/wrap/wrap.py
+++ b/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