mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Issue #24245: Eliminated senseless expect clauses that have no any effect.
Patch by Martin Panter.
This commit is contained in:
parent
ba9ac5b5c4
commit
e98209c2b4
5 changed files with 0 additions and 14 deletions
|
|
@ -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 -- "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue