Remove a statement that was only added for debugging purposes

This commit is contained in:
Nick Coghlan 2012-07-15 18:29:24 +10:00
parent 37b3b90b02
commit 8dbe5b5568
1 changed files with 0 additions and 1 deletions

View 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__