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