Merge "Fix pylint env for ancient versions of git"

This commit is contained in:
Zuul 2019-10-14 20:56:59 +00:00 committed by Gerrit Code Review
commit 372de4e490
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ run_pylint() {
if [[ "$target" = *"all"* ]]; then
files="cinder"
else
files=$(git diff --name-only --diff-filter=ACMRU $target "*.py")
files=$(git diff --name-only --diff-filter=ACMRU $target -- "*.py")
fi
if [ -n "${files}" ]; then