commit | 350fe7531feecf7df5208fa19d25730c6ce0a30d | [log] [tgz] |
---|---|---|
author | James E. King, III <jking@apache.org> | Wed Oct 25 09:57:18 2017 -0400 |
committer | James E. King, III <jking@apache.org> | Thu Oct 26 11:37:02 2017 -0400 |
tree | 89021ac90d92fbcc07ef41f118fc29b7ce80b4a4 | |
parent | 254e86b0103be51c6af9cc50220ee8c144234239 [diff] [blame] |
THRIFT-4370: build generated code before running static code analysis; fix E722 flake8 issues identified in python code This closes #1399
diff --git a/lib/py/setup.py b/lib/py/setup.py index 3d14118..4056b9b 100644 --- a/lib/py/setup.py +++ b/lib/py/setup.py
@@ -22,7 +22,7 @@ import sys try: from setuptools import setup, Extension -except: +except Exception: from distutils.core import setup, Extension from distutils.command.build_ext import build_ext