summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1999-01-21 12:49:20 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1999-01-21 12:49:20 (GMT)
commit3008b04e387811a1ef35d8504df325d17ccdeed7 (patch)
treeae6a9aa766396d642c7bbd92549cdea8a13b274e /Mac
parent43278f01dc01b6cc2c0a2a66692de46e3a4fb400 (diff)
downloadcpython-3008b04e387811a1ef35d8504df325d17ccdeed7.zip
cpython-3008b04e387811a1ef35d8504df325d17ccdeed7.tar.gz
cpython-3008b04e387811a1ef35d8504df325d17ccdeed7.tar.bz2
Removed warnings for packages (Just implemented support for freezing
them, so the warning is obsolete).
Diffstat (limited to 'Mac')
-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