From 72710696a0d5926c2f25a261c7e09692a7ed3f5b Mon Sep 17 00:00:00 2001 From: Kenneth Reitz <me@kennethreitz.org> Date: Mon, 8 Feb 2016 22:08:50 -0500 Subject: [PATCH] Revert "Revert "debug"" This reverts commit d27228999dc53c2eb3c00d580c08b340fad429f0. --- bin/steps/pip-install | 3 +++ bin/warnings | 3 +++ 2 files changed, 6 insertions(+) diff --git a/bin/steps/pip-install b/bin/steps/pip-install index ad762f98..4299b910 100755 --- a/bin/steps/pip-install +++ b/bin/steps/pip-install @@ -10,6 +10,9 @@ PIP_STATUS="${PIPESTATUS[0]}" set -e show-warnings +echo +echo +cat $WARNINGS_LOG | indent if [[ ! $PIP_STATUS -eq 0 ]]; then exit 1 diff --git a/bin/warnings b/bin/warnings index 64648538..ff53a652 100755 --- a/bin/warnings +++ b/bin/warnings @@ -1,7 +1,9 @@ shopt -s extglob old-platform() { + echo 'old platform' 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 "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." @@ -37,6 +39,7 @@ distribute-included() { } show-warnings() { + echo "show warnings $WARNINGS_LOG" old-platform pylibmc-missing scipy-included -- GitLab