You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 16:59:52 +08:00
Small fixes
This commit is contained in:
@@ -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'
|
||||
|
@@ -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
|
||||
|
@@ -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"}
|
||||
|
@@ -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:])
|
||||
|
Reference in New Issue
Block a user