summaryrefslogtreecommitdiffstats
path: root/git
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2015-04-22 16:51:07 -0400
committerKenny Woodson <kwoodson@redhat.com>2015-04-22 16:51:07 -0400
commit12ca55504988fe6ea524b222a510d51b0168f95b (patch)
tree083e5c07ea4143cfd520b88ddb2027d2eb8d9c26 /git
parent33ded1844f7a8237df492600876c117d19ec4170 (diff)
parent50acabea188347ae76c5215dd25c08dd02fc0f65 (diff)
downloadopenshift-12ca55504988fe6ea524b222a510d51b0168f95b.tar.gz
openshift-12ca55504988fe6ea524b222a510d51b0168f95b.tar.bz2
openshift-12ca55504988fe6ea524b222a510d51b0168f95b.tar.xz
openshift-12ca55504988fe6ea524b222a510d51b0168f95b.zip
Merge pull request #182 from kwoodson/git_hooks
Adding pylint binary call.
Diffstat (limited to 'git')
-rwxr-xr-xgit/pylint.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/pylint.sh b/git/pylint.sh
index 73d08e00c..e070fe7b2 100755
--- a/git/pylint.sh
+++ b/git/pylint.sh
@@ -7,6 +7,6 @@ TRG_BRANCH=$3
/usr/bin/git diff --name-only $OLDREV $NEWREV --diff-filter=ACM | \
grep ".py$" | \
- xargs -r -I{} /usr/bin/python -m pylint --rcfile ${WORKSPACE}/git/.pylintrc {}
+ xargs -r -I{} pylint --rcfile ${WORKSPACE}/git/.pylintrc {}
exit $?