mirror of https://github.com/python/cpython.git
Toby Dickenson:
Fix for problem with freeze when both "-m" and "-s service" options are used. (Blessed by MarkH)
This commit is contained in:
parent
dd8024eb96
commit
4b1235cdac
|
@ -335,10 +335,7 @@ def main():
|
||||||
if python_entry_is_main:
|
if python_entry_is_main:
|
||||||
mf.run_script(scriptfile)
|
mf.run_script(scriptfile)
|
||||||
else:
|
else:
|
||||||
if modargs:
|
mf.load_file(scriptfile)
|
||||||
mf.import_hook(scriptfile)
|
|
||||||
else:
|
|
||||||
mf.load_file(scriptfile)
|
|
||||||
|
|
||||||
if debug > 0:
|
if debug > 0:
|
||||||
mf.report()
|
mf.report()
|
||||||
|
|
Loading…
Reference in New Issue