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
|
@ -334,9 +334,6 @@ def main():
|
|||
# Add the main script as either __main__, or the actual module name.
|
||||
if python_entry_is_main:
|
||||
mf.run_script(scriptfile)
|
||||
else:
|
||||
if modargs:
|
||||
mf.import_hook(scriptfile)
|
||||
else:
|
||||
mf.load_file(scriptfile)
|
||||
|
||||
|
|
Loading…
Reference in New Issue