From 8dbe5b5568a9755b3e7c0f71df4b26a13893fd68 Mon Sep 17 00:00:00 2001 From: Nick Coghlan Date: Sun, 15 Jul 2012 18:29:24 +1000 Subject: [PATCH] Remove a statement that was only added for debugging purposes --- Lib/runpy.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Lib/runpy.py b/Lib/runpy.py index 5823943303d..d612727c6f1 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__