mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-19 13:07:56 +00:00
06a8b1ea84
Include the text of the offending distribution spec when it is ill-formed. I got an error message from pkg_resources.py saying that a distribution spec was ill-formed, because it ended with an '=' and nothing came after the '='. However, the error message and stack trace didn't tell which distribution spec it was. With this patch, it includes the distribution spec itself in the error message. There is no unit test of this patch, but I did test it manually by inserting a "raise ValueError('WHATEVER')" into the code and re-running it and observing that the new output correctly included the distribution |
||
---|---|---|
.. | ||
EGG-INFO | ||
setuptools | ||
easy_install.py | ||
pkg_resources.py | ||
zetuptoolz.txt |