diff options
author | Guido van Rossum <guido@python.org> | 2000-05-06 03:18:08 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-05-06 03:18:08 (GMT) |
commit | 4b1235cdac2d34bc24c6053936ed33afefe6e4b8 (patch) | |
tree | 654e07b64cb632009c20d84089a20ee2e7014c1a /Tools/freeze | |
parent | dd8024eb96026397bc70d0fcedb459f49bc9c0b5 (diff) | |
download | cpython-4b1235cdac2d34bc24c6053936ed33afefe6e4b8.zip cpython-4b1235cdac2d34bc24c6053936ed33afefe6e4b8.tar.gz cpython-4b1235cdac2d34bc24c6053936ed33afefe6e4b8.tar.bz2 |
Toby Dickenson:
Fix for problem with freeze when both "-m" and "-s service" options
are used.
(Blessed by MarkH)
Diffstat (limited to 'Tools/freeze')
-rwxr-xr-x | Tools/freeze/freeze.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Tools/freeze/freeze.py b/Tools/freeze/freeze.py index 9627a27..9502f1b 100755 --- a/Tools/freeze/freeze.py +++ b/Tools/freeze/freeze.py @@ -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() |