diff options
author | Éric Araujo <merwok@netwok.org> | 2011-10-06 13:22:21 +0200 |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-10-06 13:22:21 +0200 |
commit | 0f4ee93b06e28957ed43e4828643ea79a2e24aca (patch) | |
tree | 95d998e01151245da6ced50e0d41234f447147ff /Lib/packaging/run.py | |
parent | acf47b807f9a56dd802aa2e8c96f4c02f83ca831 (diff) | |
parent | 6fd287e6c2024206c07d336b86edb10c3a17c4ef (diff) | |
download | cpython-git-0f4ee93b06e28957ed43e4828643ea79a2e24aca.tar.gz |
Branch merge
Diffstat (limited to 'Lib/packaging/run.py')
-rw-r--r-- | Lib/packaging/run.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/packaging/run.py b/Lib/packaging/run.py index 5affb17974..59ad6ee175 100644 --- a/Lib/packaging/run.py +++ b/Lib/packaging/run.py @@ -283,10 +283,11 @@ def _run(dispatcher, args, **kw): dist.parse_config_files() for cmd in dispatcher.commands: + # FIXME need to catch MetadataMissingError here (from the check command + # e.g.)--or catch any exception, print an error message and exit with 1 dist.run_command(cmd, dispatcher.command_options[cmd]) - # XXX this is crappy - return dist + return 0 @action_help("""\ |