diff --git a/bin/steps/python b/bin/steps/python index bb699377674f8e90dcaf0b45a6a79b44fb62f438..323a6789d6f298c11640ab04a5654aff867bcd11 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