Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2017-09-26 09:56:54 -04:00
parent a095dceb93
commit 23929c97d0
+1 -1
View File
@@ -4,7 +4,7 @@ set +e
runtime-fixer runtime.txt
PYTHON_VERSION=$(cat runtime.txt)
if [[ $PYTHON_VERSION == "python-2*" ]]; then
if [[ $PYTHON_VERSION =~ ^python-2 ]]; then
if [[ "$PYTHON_VERSION" != "$LATEST_2" ]]; then
puts-warn "The latest version of Python 2 is $LATEST_2. We recommend upgrading by specifying this version in a runtime.txt file."
echo " Learn More: https://devcenter.heroku.com/articles/python-runtimes"