summaryrefslogtreecommitdiff
path: root/setuptools/command/sdist.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/command/sdist.py')
-rwxr-xr-xsetuptools/command/sdist.py2
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