diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2015-03-28 10:55:05 -0400 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-03-28 10:55:05 -0400 |
| commit | 6bb8f3a708241aed3e64a24e71800dd6742d54df (patch) | |
| tree | ba544d4840ba2d94835d39d93f34bbc732fc34d2 /setuptools/command/easy_install.py | |
| parent | f0b26583b2abdfba057dc199d31701497ad894c1 (diff) | |
| parent | e1f0b4019be6efa9c20f0f0dae13009f071ff2a0 (diff) | |
| download | python-setuptools-git-6bb8f3a708241aed3e64a24e71800dd6742d54df.tar.gz | |
Merged in msabramo/setuptools/DistributionNotFound_list_requirers (pull request #126)
DistributionNotFound: Show 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: |
