summaryrefslogtreecommitdiffstats
path: root/git
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2015-08-21 17:44:30 -0400
committerKenny Woodson <kwoodson@redhat.com>2015-08-27 14:40:09 -0400
commit693be4802c2b3886b82681c5c1666b9f13d9ca36 (patch)
tree4a6cee11c72601298535c262f5654a4b43ffba14 /git
parent2f5486c7174eeacdd52938442daa2ddfa6a8e277 (diff)
downloadopenshift-693be4802c2b3886b82681c5c1666b9f13d9ca36.tar.gz
openshift-693be4802c2b3886b82681c5c1666b9f13d9ca36.tar.bz2
openshift-693be4802c2b3886b82681c5c1666b9f13d9ca36.tar.xz
openshift-693be4802c2b3886b82681c5c1666b9f13d9ca36.zip
Updates for zbx ans module
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 8666931e9..55e8b6131 100755
--- a/git/pylint.sh
+++ b/git/pylint.sh
@@ -13,7 +13,7 @@ OLDREV=$1
NEWREV=$2
#TRG_BRANCH=$3
-PYTHON=/var/lib/jenkins/python27/bin/python
+PYTHON=$(which python)
set +e
PY_DIFF=$(/usr/bin/git diff --name-only $OLDREV $NEWREV --diff-filter=ACM | grep ".py$")