Skip to content

Commit 4af88cc

Browse files
atombrellatimgraham
authored andcommitted
Refs #23919 -- Removed Python 2 reference in django_bash_completion.
1 parent 31a2af1 commit 4af88cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extras/django_bash_completion

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ _python_django_completion()
4343
{
4444
if [[ ${COMP_CWORD} -ge 2 ]]; then
4545
local PYTHON_EXE=${COMP_WORDS[0]##*/}
46-
echo $PYTHON_EXE | egrep "python([2-9]\.[0-9])?" >/dev/null 2>&1
46+
echo $PYTHON_EXE | egrep "python([3-9]\.[0-9])?" >/dev/null 2>&1
4747
if [[ $? == 0 ]]; then
4848
local PYTHON_SCRIPT=${COMP_WORDS[1]##*/}
4949
echo $PYTHON_SCRIPT | egrep "manage\.py|django-admin(\.py)?" >/dev/null 2>&1

0 commit comments

Comments
 (0)