diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-05-20 13:10:04 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-05-20 13:10:04 (GMT) |
commit | e98209c2b446205547e2298b7e6300098cfa578e (patch) | |
tree | a79fc004850e681d3a31b0175ad3568ef1a45f08 /Lib/distutils/core.py | |
parent | ba9ac5b5c42a9bba54942211a3b00a1c3ce7bb23 (diff) | |
download | cpython-e98209c2b446205547e2298b7e6300098cfa578e.zip cpython-e98209c2b446205547e2298b7e6300098cfa578e.tar.gz cpython-e98209c2b446205547e2298b7e6300098cfa578e.tar.bz2 |
Issue #24245: Eliminated senseless expect clauses that have no any effect.
Patch by Martin Panter.
Diffstat (limited to 'Lib/distutils/core.py')
-rw-r--r-- | Lib/distutils/core.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/distutils/core.py b/Lib/distutils/core.py index 2bfe66a..f05b34b 100644 --- a/Lib/distutils/core.py +++ b/Lib/distutils/core.py @@ -221,8 +221,6 @@ def run_setup (script_name, script_args=None, stop_after="run"): # Hmm, should we do something if exiting with a non-zero code # (ie. error)? pass - except: - raise if _setup_distribution is None: raise RuntimeError(("'distutils.core.setup()' was never called -- " |