diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2016-07-22 08:37:26 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-07-22 08:37:26 -0400 |
| commit | 0269eaa527744320cdb42600927f9ef11900d4d7 (patch) | |
| tree | 8344d54c35cfeb981865d32089bf10110de4c7fd /setuptools/command/sdist.py | |
| parent | 0cd550a81c1e18d6bed0830a16dd9f1a37058aaf (diff) | |
| parent | b3b8a8d106ecf9dbdb933f4f2a09ec65003b7d05 (diff) | |
| download | python-setuptools-git-0269eaa527744320cdb42600927f9ef11900d4d7.tar.gz | |
Merge pull request #670 from stepshal/exception
Use 'except Exception:' instead of 'except:'.
Diffstat (limited to 'setuptools/command/sdist.py')
| -rwxr-xr-x | setuptools/command/sdist.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/sdist.py b/setuptools/command/sdist.py index b86aae50..b6125f58 100755 --- a/setuptools/command/sdist.py +++ b/setuptools/command/sdist.py @@ -99,7 +99,7 @@ class sdist(orig.sdist): # file. try: orig.sdist.read_template(self) - except: + except Exception: _, _, tb = sys.exc_info() tb.tb_next.tb_frame.f_locals['template'].close() raise |
