Skip to content
Snippets Groups Projects
Commit 3c3e6210 authored by Kenneth Reitz's avatar Kenneth Reitz
Browse files

Revert "Revert "Revert "debug"""

This reverts commit 72710696.
parent 40e91ffa
No related branches found
No related tags found
No related merge requests found
...@@ -10,16 +10,6 @@ PIP_STATUS="${PIPESTATUS[0]}" ...@@ -10,16 +10,6 @@ PIP_STATUS="${PIPESTATUS[0]}"
set -e set -e
show-warnings show-warnings
echo
echo
echo
echo
cat $WARNINGS_LOG | indent
echo
echo
echo
echo
if [[ ! $PIP_STATUS -eq 0 ]]; then if [[ ! $PIP_STATUS -eq 0 ]]; then
exit 1 exit 1
...@@ -33,4 +23,4 @@ cp requirements.txt .heroku/python/requirements-declared.txt ...@@ -33,4 +23,4 @@ cp requirements.txt .heroku/python/requirements-declared.txt
[ ! "$FRESH_PYTHON" ] && bpwatch stop pip_install [ ! "$FRESH_PYTHON" ] && bpwatch stop pip_install
[ "$FRESH_PYTHON" ] && bpwatch stop pip_install_first [ "$FRESH_PYTHON" ] && bpwatch stop pip_install_first
echo echo
\ No newline at end of file
shopt -s extglob shopt -s extglob
old-platform() { old-platform() {
echo 'old platform'
if grep -qi 'InsecurePlatformWarning' "$WARNINGS_LOG"; then if grep -qi 'InsecurePlatformWarning' "$WARNINGS_LOG"; then
echo 'true'
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."
...@@ -39,7 +37,6 @@ distribute-included() { ...@@ -39,7 +37,6 @@ distribute-included() {
} }
show-warnings() { show-warnings() {
echo "show warnings $WARNINGS_LOG"
old-platform old-platform
pylibmc-missing pylibmc-missing
scipy-included scipy-included
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment