Commit e27b5656 authored by Kenneth Reitz's avatar Kenneth Reitz

InsecurePlatformWarning

parent f132d319
shopt -s extglob shopt -s extglob
old-platform() { old-platform() {
if grep -qi 'SNIMissingWarning' "$WARNINGS_LOG"; then if grep -qi 'InsecurePlatformWarning' "$WARNINGS_LOG"; then
puts-warn "Hello! It looks like your application is using an outdated version of Python." puts-warn "Hello! It looks like your application is using an outdated version of Python."
puts-warn "This caused the security warning you saw above during the 'pip install' step." puts-warn "This caused the security warning you saw above during the 'pip install' step."
puts-warn "We recommend '$DEFAULT_PYTHON_VERSION', which you can specify in a 'runtime.txt' file." puts-warn "We recommend '$DEFAULT_PYTHON_VERSION', which you can specify in a 'runtime.txt' file."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment