summaryrefslogtreecommitdiffstats
path: root/Mac/Tools
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Tools')
-rw-r--r--Mac/Tools/macfreeze/macgen_rsrc.py2
-rw-r--r--Mac/Tools/macfreeze/macgen_src.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Tools/macfreeze/macgen_rsrc.py b/Mac/Tools/macfreeze/macgen_rsrc.py
index 2619a6a..cbf5e0e 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 ad0739e..198d403 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