From: Nick Coghlan Date: Sun, 15 Jul 2012 08:29:24 +0000 (+1000) Subject: Remove a statement that was only added for debugging purposes X-Git-Tag: v3.3.0b2~207 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8dbe5b5568a9755b3e7c0f71df4b26a13893fd68;p=thirdparty%2FPython%2Fcpython.git Remove a statement that was only added for debugging purposes --- diff --git a/Lib/runpy.py b/Lib/runpy.py index 5823943303d5..d612727c6f1c 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__