summaryrefslogtreecommitdiffstats
path: root/Lib/runpy.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/runpy.py')
-rw-r--r--Lib/runpy.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/runpy.py b/Lib/runpy.py
index 5823943..d612727 100644
--- a/Lib/runpy.py
+++ b/Lib/runpy.py
@@ -151,7 +151,6 @@ def _run_module_as_main(mod_name, alter_argv=True):
# know what the code was looking for
info = "can't find '__main__' module in %r" % sys.argv[0]
msg = "%s: %s" % (sys.executable, info)
- raise
sys.exit(msg)
pkg_name = mod_name.rpartition('.')[0]
main_globals = sys.modules["__main__"].__dict__