Commit 4ff62b2b authored by Kenneth Reitz's avatar Kenneth Reitz

sticky python versions bugfix

parent d47970fd
......@@ -103,11 +103,10 @@ if [ ! -f requirements.txt ]; then
fi
# Sticky runtimes.
if [ -f .heroku/python-version ]; then
DEFAULT_PYTHON_VERSION=$(cat .heroku/python-version)
if [ -f $CACHE_DIR/.heroku/python-version ]; then
DEFAULT_PYTHON_VERSION=$(cat $CACHE_DIR/.heroku/python-version)
fi
# If no runtime given, assume default version.
if [ ! -f runtime.txt ]; then
puts-step "No runtime.txt provided; assuming $DEFAULT_PYTHON_VERSION."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment