summaryrefslogtreecommitdiff
path: root/setuptools/command/build_py.py
diff options
context:
space:
mode:
authorThomas Grainger <tagrain@gmail.com>2020-10-04 16:11:27 +0100
committerThomas Grainger <tagrain@gmail.com>2020-10-04 16:11:27 +0100
commit997eae8020dc28ea1ef87572275f5dc41e1bc74a (patch)
treeda20677d1111b9ed009cd850b934173a5743b18a /setuptools/command/build_py.py
parent1ea521c51b0ed2967a9ff1d8ad41160043a8a981 (diff)
downloadpython-setuptools-git-997eae8020dc28ea1ef87572275f5dc41e1bc74a.tar.gz
ignore any exception when loading 2to3
Diffstat (limited to 'setuptools/command/build_py.py')
-rw-r--r--setuptools/command/build_py.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/build_py.py b/setuptools/command/build_py.py
index 4709679b..b30aa129 100644
--- a/setuptools/command/build_py.py
+++ b/setuptools/command/build_py.py
@@ -11,7 +11,7 @@ import stat
try:
from setuptools.lib2to3_ex import Mixin2to3
-except ImportError:
+except Exception:
class Mixin2to3:
def run_2to3(self, files, doctests=True):