diff options
author | Marc Abramowitz <marc@marc-abramowitz.com> | 2015-03-24 08:20:42 -0700 |
---|---|---|
committer | Marc Abramowitz <marc@marc-abramowitz.com> | 2015-03-24 08:20:42 -0700 |
commit | e1f0b4019be6efa9c20f0f0dae13009f071ff2a0 (patch) | |
tree | a7ce91785c27871b48323342aad45206ef62d558 /setuptools/command/easy_install.py | |
parent | 2283fc214217e5c3dca8cc65045271ab5d0ea522 (diff) | |
download | external_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-x | setuptools/command/easy_install.py | 4 |
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: |