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

cleanups


Signed-off-by: default avatarKenneth Reitz <me@kennethreitz.org>
parent 0fec3dcc
No related branches found
No related tags found
No related merge requests found
...@@ -6,13 +6,13 @@ PYTHON_VERSION=$(cat runtime.txt) ...@@ -6,13 +6,13 @@ PYTHON_VERSION=$(cat runtime.txt)
if [[ $PYTHON_VERSION =~ ^python-2 ]]; then if [[ $PYTHON_VERSION =~ ^python-2 ]]; then
if [[ "$PYTHON_VERSION" != "$LATEST_2" ]]; then if [[ "$PYTHON_VERSION" != "$LATEST_2" ]]; then
puts-warn "The latest version of Python 2 is $LATEST_2 (you are using $PYTHON_VERSION). We recommend upgrading by specifying the latest version." 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: https://devcenter.heroku.com/articles/python-runtimes" echo " Learn More: \n https://devcenter.heroku.com/articles/python-runtimes"
fi fi
else else
if [[ "$PYTHON_VERSION" != "$LATEST_3" ]]; then if [[ "$PYTHON_VERSION" != "$LATEST_3" ]]; then
puts-warn "The latest version of Python 3 is $LATEST_3 (you are using $PYTHON_VERSION). We recommend upgrading by specifying the latest version." 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: https://devcenter.heroku.com/articles/python-runtimes" echo " Learn More: \n https://devcenter.heroku.com/articles/python-runtimes"
fi fi
fi fi
......
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