[Python-checkins] cpython: Remove a statement that was only added for debugging purposes
nick.coghlan
python-checkins at python.org
Sun Jul 15 10:29:33 CEST 2012
http://hg.python.org/cpython/rev/87a2f3149ca5
changeset: 78109:87a2f3149ca5
user: Nick Coghlan <ncoghlan at gmail.com>
date: Sun Jul 15 18:29:24 2012 +1000
summary:
Remove a statement that was only added for debugging purposes
files:
Lib/runpy.py | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/Lib/runpy.py b/Lib/runpy.py
--- a/Lib/runpy.py
+++ b/Lib/runpy.py
@@ -151,7 +151,6 @@
# 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__
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list