Removed warnings for packages (Just implemented support for freezing
them, so the warning is obsolete).
This commit is contained in:
parent
43278f01dc
commit
3008b04e38
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue