aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/easy_install.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2015-01-04 13:25:28 -0500
committerJason R. Coombs <jaraco@jaraco.com>2015-01-04 13:25:28 -0500
commit23d5e4a81a61c5e6617fa69fd0b2bc440fa20c45 (patch)
treedf3a695608a8278a4e0dc4a5d6c7987a656484cd /setuptools/command/easy_install.py
parent880ccea0220509bfaf483a50beefc128299a5b03 (diff)
downloadexternal_python_setuptools-23d5e4a81a61c5e6617fa69fd0b2bc440fa20c45.tar.gz
external_python_setuptools-23d5e4a81a61c5e6617fa69fd0b2bc440fa20c45.tar.bz2
external_python_setuptools-23d5e4a81a61c5e6617fa69fd0b2bc440fa20c45.zip
Test the report method
Diffstat (limited to 'setuptools/command/easy_install.py')
-rwxr-xr-xsetuptools/command/easy_install.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index 02ce7636..d05f4c65 100755
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -703,10 +703,7 @@ Please make the appropriate changes for your system and try again.
"Could not find required distribution %s" % e.args
)
except VersionConflict as e:
- raise DistutilsError(
- "Installed distribution %s conflicts with requirement %s"
- % e.args
- )
+ raise DistutilsError(e.report())
if self.always_copy or self.always_copy_from:
# Force all the relevant distros to be copied or activated
for dist in distros: