Commit 8dbe5b55 authored by Nick Coghlan's avatar Nick Coghlan

Remove a statement that was only added for debugging purposes

parent 37b3b90b
...@@ -151,7 +151,6 @@ def _run_module_as_main(mod_name, alter_argv=True): ...@@ -151,7 +151,6 @@ def _run_module_as_main(mod_name, alter_argv=True):
# know what the code was looking for # know what the code was looking for
info = "can't find '__main__' module in %r" % sys.argv[0] info = "can't find '__main__' module in %r" % sys.argv[0]
msg = "%s: %s" % (sys.executable, info) msg = "%s: %s" % (sys.executable, info)
raise
sys.exit(msg) sys.exit(msg)
pkg_name = mod_name.rpartition('.')[0] pkg_name = mod_name.rpartition('.')[0]
main_globals = sys.modules["__main__"].__dict__ main_globals = sys.modules["__main__"].__dict__
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment