From a4e8ba3cdf1ceb609f5d49018d11295ac6ee9601 Mon Sep 17 00:00:00 2001
From: Kenneth Reitz <me@kennethreitz.org>
Date: Mon, 8 Feb 2016 21:59:55 -0500
Subject: [PATCH] debug

---
 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