summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2012-07-15 08:29:24 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2012-07-15 08:29:24 (GMT)
commit8dbe5b5568a9755b3e7c0f71df4b26a13893fd68 (patch)
treef5357001788d0e79a7bd070d521664ec4ab6b4d6 /Lib
parent37b3b90b02183d072b1f4fa4de96f67eafb6f245 (diff)
downloadcpython-8dbe5b5568a9755b3e7c0f71df4b26a13893fd68.zip
cpython-8dbe5b5568a9755b3e7c0f71df4b26a13893fd68.tar.gz
cpython-8dbe5b5568a9755b3e7c0f71df4b26a13893fd68.tar.bz2
Remove a statement that was only added for debugging purposes
Diffstat (limited to 'Lib')
-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__