From 3008b04e387811a1ef35d8504df325d17ccdeed7 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Thu, 21 Jan 1999 12:49:20 +0000 Subject: [PATCH] Removed warnings for packages (Just implemented support for freezing them, so the warning is obsolete). --- Mac/Tools/macfreeze/macgen_rsrc.py | 2 +- Mac/Tools/macfreeze/macgen_src.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Mac/Tools/macfreeze/macgen_rsrc.py b/Mac/Tools/macfreeze/macgen_rsrc.py index 2619a6a6d66..cbf5e0e594f 100644 --- a/Mac/Tools/macfreeze/macgen_rsrc.py +++ b/Mac/Tools/macfreeze/macgen_rsrc.py @@ -30,7 +30,7 @@ def generate(output, module_dict, debug=0, preload=1): def warnings(module_dict): problems = 0 for name, module in module_dict.items(): - if module.gettype() not in ('builtin', 'module'): + if module.gettype() not in ('builtin', 'module', 'package'): problems = problems + 1 print 'Warning: %s not included: %s %s'%(name, module.gettype(), module) return problems diff --git a/Mac/Tools/macfreeze/macgen_src.py b/Mac/Tools/macfreeze/macgen_src.py index ad0739ef192..198d403b549 100644 --- a/Mac/Tools/macfreeze/macgen_src.py +++ b/Mac/Tools/macfreeze/macgen_src.py @@ -103,7 +103,7 @@ def generate(output, module_dict, debug=0): def warnings(module_dict): problems = 0 for name, module in module_dict.items(): - if module.gettype() not in ('builtin', 'module', 'dynamic'): + if module.gettype() not in ('builtin', 'module', 'dynamic', 'package'): problems = problems + 1 print 'Warning: %s not included: %s %s'%(name, module.gettype(), module) return problems