mirror of
https://github.com/python/cpython.git
synced 2024-11-27 20:04:41 +08:00
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:
|
||||
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()
|
||||
|
Loading…
Reference in New Issue
Block a user