Do not offer to copy selectors.py to/from 3.4 CPython branch in update script.

This commit is contained in:
Guido van Rossum
2014-06-16 07:50:13 -07:00
parent 2e0955c14e
commit d23369a5d4

View File

@@ -42,7 +42,12 @@ for i in `(cd asyncio && ls *.py)`
do
if [ $i == selectors.py ]
then
maybe_copy asyncio/$i Lib/$i
if [ "`(cd $CPYTHON; hg branch)`" == "3.4" ]
then
echo "Destination is 3.4 branch -- ignoring selectors.py"
else
maybe_copy asyncio/$i Lib/$i
fi
else
maybe_copy asyncio/$i Lib/asyncio/$i
fi