From 4af88ccbe68d6a2a6df428f569deb1f50d826cc7 Mon Sep 17 00:00:00 2001 From: Mads Jensen Date: Mon, 10 Jul 2017 14:54:52 +0200 Subject: [PATCH] Refs #23919 -- Removed Python 2 reference in django_bash_completion. --- extras/django_bash_completion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/django_bash_completion b/extras/django_bash_completion index 06a2321ff3..dfeefe4939 100755 --- a/extras/django_bash_completion +++ b/extras/django_bash_completion @@ -43,7 +43,7 @@ _python_django_completion() { if [[ ${COMP_CWORD} -ge 2 ]]; then local PYTHON_EXE=${COMP_WORDS[0]##*/} - echo $PYTHON_EXE | egrep "python([2-9]\.[0-9])?" >/dev/null 2>&1 + echo $PYTHON_EXE | egrep "python([3-9]\.[0-9])?" >/dev/null 2>&1 if [[ $? == 0 ]]; then local PYTHON_SCRIPT=${COMP_WORDS[1]##*/} echo $PYTHON_SCRIPT | egrep "manage\.py|django-admin(\.py)?" >/dev/null 2>&1