]> granicus.if.org Git - python/commitdiff
Remove a statement that was only added for debugging purposes
authorNick Coghlan <ncoghlan@gmail.com>
Sun, 15 Jul 2012 08:29:24 +0000 (18:29 +1000)
committerNick Coghlan <ncoghlan@gmail.com>
Sun, 15 Jul 2012 08:29:24 +0000 (18:29 +1000)
Lib/runpy.py

index 5823943303d50f0a6dccd2fef2ee0508e431676e..d612727c6f1ca15101e62d6f7ee4531e6b28f642 100644 (file)
@@ -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__