From f7488df407b4ab496f5a99021ff40b7ac0e45c67 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz <me@kennethreitz.org> Date: Tue, 26 Sep 2017 10:05:19 -0400 Subject: [PATCH] cleanups Signed-off-by: Kenneth Reitz <me@kennethreitz.org> --- bin/steps/python | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/bin/steps/python b/bin/steps/python index bb699377..323a6789 100755 --- a/bin/steps/python +++ b/bin/steps/python @@ -6,13 +6,17 @@ PYTHON_VERSION=$(cat runtime.txt) if [[ $PYTHON_VERSION =~ ^python-2 ]]; then if [[ "$PYTHON_VERSION" != "$LATEST_2" ]]; then - puts-warn "The latest version of Python 2 is $LATEST_2 (you are using $PYTHON_VERSION). \n We recommend upgrading by specifying the latest version." - echo " Learn More: \n https://devcenter.heroku.com/articles/python-runtimes" + puts-warn "The latest version of Python 2 is $LATEST_2 (you are using $PYTHON_VERSION)." + puts-warn "We recommend upgrading by specifying the latest version." + echo " Learn More:" + echo " https://devcenter.heroku.com/articles/python-runtimes" fi else if [[ "$PYTHON_VERSION" != "$LATEST_3" ]]; then - puts-warn "The latest version of Python 3 is $LATEST_3 (you are using $PYTHON_VERSION). \n We recommend upgrading by specifying the latest version." - echo " Learn More: \n https://devcenter.heroku.com/articles/python-runtimes" + puts-warn "The latest version of Python 3 is $LATEST_3 (you are using $PYTHON_VERSION)." + puts-warn "We recommend upgrading by specifying the latest version." + echo " Learn More:" + echo " https://devcenter.heroku.com/articles/python-runtimes" fi fi -- GitLab