Removed warnings for packages (Just implemented support for freezing

them, so the warning is obsolete).
This commit is contained in:
Jack Jansen 1999-01-21 12:49:20 +00:00
parent 43278f01dc
commit 3008b04e38
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ def generate(output, module_dict, debug=0, preload=1):
def warnings(module_dict): def warnings(module_dict):
problems = 0 problems = 0
for name, module in module_dict.items(): 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 problems = problems + 1
print 'Warning: %s not included: %s %s'%(name, module.gettype(), module) print 'Warning: %s not included: %s %s'%(name, module.gettype(), module)
return problems return problems

View File

@ -103,7 +103,7 @@ def generate(output, module_dict, debug=0):
def warnings(module_dict): def warnings(module_dict):
problems = 0 problems = 0
for name, module in module_dict.items(): 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 problems = problems + 1
print 'Warning: %s not included: %s %s'%(name, module.gettype(), module) print 'Warning: %s not included: %s %s'%(name, module.gettype(), module)
return problems return problems