From 23929c97d08793c0232f837e9054f110dead2d4e Mon Sep 17 00:00:00 2001 From: Kenneth Reitz <me@kennethreitz.org> Date: Tue, 26 Sep 2017 09:56:54 -0400 Subject: [PATCH] try this Signed-off-by: Kenneth Reitz <me@kennethreitz.org> --- bin/steps/python | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/steps/python b/bin/steps/python index 7c8e5c4c..10975570 100755 --- a/bin/steps/python +++ b/bin/steps/python @@ -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" -- GitLab