aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/easy_install.py
diff options
context:
space:
mode:
authorMarc Abramowitz <marc@marc-abramowitz.com>2015-03-24 08:20:42 -0700
committerMarc Abramowitz <marc@marc-abramowitz.com>2015-03-24 08:20:42 -0700
commite1f0b4019be6efa9c20f0f0dae13009f071ff2a0 (patch)
treea7ce91785c27871b48323342aad45206ef62d558 /setuptools/command/easy_install.py
parent2283fc214217e5c3dca8cc65045271ab5d0ea522 (diff)
downloadexternal_python_setuptools-e1f0b4019be6efa9c20f0f0dae13009f071ff2a0.tar.gz
external_python_setuptools-e1f0b4019be6efa9c20f0f0dae13009f071ff2a0.tar.bz2
external_python_setuptools-e1f0b4019be6efa9c20f0f0dae13009f071ff2a0.zip
DistributionNotFound: Move message template to class
--HG-- branch : DistributionNotFound_list_requirers
Diffstat (limited to 'setuptools/command/easy_install.py')
-rwxr-xr-xsetuptools/command/easy_install.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index 276b6f99..f2bfa68d 100755
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -709,9 +709,7 @@ class easy_install(Command):
[requirement], self.local_index, self.easy_install
)
except DistributionNotFound as e:
- raise DistutilsError(
- "Could not find required distribution %s" % e.args
- )
+ raise DistutilsError(str(e))
except VersionConflict as e:
raise DistutilsError(e.report())
if self.always_copy or self.always_copy_from: