Small fixes

This commit is contained in:
rocky
2020-01-13 11:41:53 -05:00
parent 74961caed1
commit 4b46a8ffdf
4 changed files with 5 additions and 5 deletions

View File

@@ -5,4 +5,4 @@ if [[ $0 == ${BASH_SOURCE[0]} ]] ; then
echo "This script should be *sourced* rather than run directly through bash"
exit 1
fi
export PYVERSIONS='3.5.9 3.6.9 2.6.9 3.3.7 2.7.17 3.2.6 3.1.5 3.4.10 3.7.6 3.8.1'
export PYVERSIONS='3.5.9 3.6.10 2.6.9 3.3.7 2.7.17 3.2.6 3.1.5 3.4.10 3.7.6 3.8.1'

View File

@@ -15,3 +15,4 @@ cd $fulldir/..
git checkout python-2.4 && pyenv local $PYTHON_VERSION && git pull
cd $owd
rm -v */.python-version || true
pyenv local $PYTHON_VERSION

View File

@@ -269,9 +269,9 @@ cd $srcdir
fulldir=$(pwd)
# pyenv version cleaning
for dir in .. ../.. ; do
(cd $dir && [[ -r .python-version ]] && rm -v .python-version )
done
# for dir in .. ../.. ; do
# (cd $dir && [[ -r .python-version ]] && rm -v .python-version )
# done
# DECOMPILER=uncompyle2
DECOMPILER=${DECOMPILER:-"$fulldir/../../bin/uncompyle6"}

View File

@@ -2092,7 +2092,6 @@ class SourceWalker(GenericASTTraversal, object):
try:
self.write(eval(expr, d, d))
except:
from trepan.api import debug; debug()
raise
m = escape.search(fmt, i)
self.write(fmt[i:])