From 82d1bf014082e08fc608976b96d689d65a858700 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Tue, 3 May 2016 14:50:09 +0200 Subject: pylint fixes; syntastic python checker sucks --- bin/pylint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/pylint.sh b/bin/pylint.sh index 28087c7..546f8c8 100755 --- a/bin/pylint.sh +++ b/bin/pylint.sh @@ -7,7 +7,7 @@ then return fi -if [ "$PYMAJOR" <> "2" ] && [ "$PYMAJOR" <> "3" ] +if [[ "$PYMAJOR" != "2" ]] && [[ "$PYMAJOR" != "3" ]] then PYMAJOR=2 grep '#!.*python3' "${@: -1}" >/dev/null && PYMAJOR=3 -- cgit v1.2.3