diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1999-01-21 12:49:20 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1999-01-21 12:49:20 (GMT) |
commit | 3008b04e387811a1ef35d8504df325d17ccdeed7 (patch) | |
tree | ae6a9aa766396d642c7bbd92549cdea8a13b274e /Mac | |
parent | 43278f01dc01b6cc2c0a2a66692de46e3a4fb400 (diff) | |
download | cpython-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.py | 2 | ||||
-rw-r--r-- | 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 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 |