Toby Dickenson:

Fix for problem with freeze when both "-m" and "-s service" options
are used.

(Blessed by MarkH)
This commit is contained in:
Guido van Rossum 2000-05-06 03:18:08 +00:00
parent dd8024eb96
commit 4b1235cdac

View File

@ -335,10 +335,7 @@ def main():
if python_entry_is_main:
mf.run_script(scriptfile)
else:
if modargs:
mf.import_hook(scriptfile)
else:
mf.load_file(scriptfile)
mf.load_file(scriptfile)
if debug > 0:
mf.report()