diff options
author | Éric Araujo <merwok@netwok.org> | 2011-07-29 02:20:39 +0200 |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-07-29 02:20:39 +0200 |
commit | 73c175f5a0a7e749357e74f518c89b716b7e34b2 (patch) | |
tree | b83ac5c6fdf186279e42b22a88aa30179eee8c08 /Lib/pydoc.py | |
parent | 2527796a22404d5b8cb0e498a965c6b4a743caac (diff) | |
download | cpython-git-73c175f5a0a7e749357e74f518c89b716b7e34b2.tar.gz |
Let pysetup list exit with a non-zero code when no result is found (#11409).
“pysetup list” or “pysetup list --all” will continue to return 0 if no
distribution is found (it’s not an error), but “pysetup list
some.project” will now exit with 1 if no matching installed distribution
is found. Based on a patch by Kelsey Hightower.
Diffstat (limited to 'Lib/pydoc.py')
0 files changed, 0 insertions, 0 deletions