Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2017-09-26 10:01:37 -04:00
parent c05204d6b5
commit 0fec3dcc00
+2 -2
View File
@@ -6,12 +6,12 @@ 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. We recommend upgrading by specifying this version."
puts-warn "The latest version of Python 2 is $LATEST_2 (you are using $PYTHON_VERSION). We recommend upgrading by specifying the latest version."
echo " Learn More: 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. We recommend upgrading by specifying this version."
puts-warn "The latest version of Python 3 is $LATEST_3 (you are using $PYTHON_VERSION). We recommend upgrading by specifying the latest version."
echo " Learn More: https://devcenter.heroku.com/articles/python-runtimes"
fi