diff options
| author | Nick Coghlan <ncoghlan@gmail.com> | 2012-07-15 18:29:24 +1000 |
|---|---|---|
| committer | Nick Coghlan <ncoghlan@gmail.com> | 2012-07-15 18:29:24 +1000 |
| commit | 8dbe5b5568a9755b3e7c0f71df4b26a13893fd68 (patch) | |
| tree | f5357001788d0e79a7bd070d521664ec4ab6b4d6 /Lib/runpy.py | |
| parent | 37b3b90b02183d072b1f4fa4de96f67eafb6f245 (diff) | |
| download | cpython-git-8dbe5b5568a9755b3e7c0f71df4b26a13893fd68.tar.gz | |
Remove a statement that was only added for debugging purposes
Diffstat (limited to 'Lib/runpy.py')
| -rw-r--r-- | Lib/runpy.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/runpy.py b/Lib/runpy.py index 5823943303..d612727c6f 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__ |
