MCPcopy
hub / github.com/benoitc/gunicorn / validate_ssl_version

Function validate_ssl_version

gunicorn/config.py:405–408  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

403
404
405def validate_ssl_version(val):
406 if val != SSLVersion.default:
407 sys.stderr.write("Warning: option `ssl_version` is deprecated and it is ignored. Use ssl_context instead.\n")
408 return val
409
410
411def validate_string(val):

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected