Kaydet (Commit) 3008b04e authored tarafından Jack Jansen's avatar Jack Jansen

Removed warnings for packages (Just implemented support for freezing

them, so the warning is obsolete).
üst 43278f01
......@@ -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
......
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment