From 4b1235cdac2d34bc24c6053936ed33afefe6e4b8 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sat, 6 May 2000 03:18:08 +0000 Subject: [PATCH] Toby Dickenson: Fix for problem with freeze when both "-m" and "-s service" options are used. (Blessed by MarkH) --- Tools/freeze/freeze.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Tools/freeze/freeze.py b/Tools/freeze/freeze.py index 9627a27f4ae..9502f1b39ba 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()