mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 17:52:50 +00:00
setup: don't catch all Exception from check_requirement(), but only PackagingError and ImportError
I noticed this because I had accidentally inserted a bug which caused AssertionError to be raised from check_requirement().
This commit is contained in:
parent
f251bbece5
commit
b30a269ec2
@ -373,7 +373,7 @@ def check_all_requirements():
|
||||
for requirement in install_requires:
|
||||
try:
|
||||
check_requirement(requirement, vers_and_locs)
|
||||
except Exception, e:
|
||||
except (ImportError, PackagingError), e:
|
||||
errors.append("%s: %s" % (e.__class__.__name__, e))
|
||||
|
||||
if errors:
|
||||
|
Loading…
x
Reference in New Issue
Block a user