Fix pylint env for ancient versions of git
On el7 w/git 1.8.3, "tox -e pylint" just returns:
fatal: ambiguous argument '*.py': unknown revision
or path not in the working tree.
Before this change.
@@ -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
