diff contrib/setup-pytype.sh @ 51700:7f0cb9ee0534

Backout accidental publication of a large range of revisions I accidentally published 25e7f9dcad0f::bd1483fd7088, this is the inverse.
author Raphaël Gomès <rgomes@octobus.net>
date Tue, 23 Jul 2024 10:02:46 +0200
parents 6aa74bcd4255
children 832a1aeb576f
line wrap: on
line diff
--- a/contrib/setup-pytype.sh	Mon Jul 22 16:49:38 2024 +0200
+++ b/contrib/setup-pytype.sh	Tue Jul 23 10:02:46 2024 +0200
@@ -5,7 +5,7 @@
 
 # Find the python3 setup that would run pytype
 PYTYPE=`which pytype`
-PYTHON3=${PYTHON:-`head -n1 ${PYTYPE} | sed -s 's/#!//'`}
+PYTHON3=`head -n1 ${PYTYPE} | sed -s 's/#!//'`
 
 # Existing stubs that pytype processes live here
 TYPESHED=$(${PYTHON3} -c "import pytype; print(pytype.__path__[0])")/typeshed/stubs