1
0
mirror of https://github.com/bigchaindb/bigchaindb.git synced 2024-06-26 03:06:43 +02:00

Use more generic and compatible Exception

This commit is contained in:
vrde 2016-05-19 11:08:26 +02:00
parent 2c766d7bf2
commit 491dc29b41
No known key found for this signature in database
GPG Key ID: 6581C7C39B3D397D

View File

@ -18,7 +18,7 @@ def check_setuptools_features():
import pkg_resources
try:
list(pkg_resources.parse_requirements('foo~=1.0'))
except pkg_resources.RequirementParseError:
except ValueError:
exit('Your Python distribution comes with an incompatible version '
'of `setuptools`. Please run:\n'
' $ pip install --update setuptools\n'