Lines Matching refs:module
59 def count_deps(depsdb, module, seen): argument
65 seen.append(module)
66 if module in depsdb:
67 for dep in depsdb[module]:
81 for (module, module_type, problem, dependencies, makefiles, installed) in reader:
82 module_types[module] = module_type
83 problems[module] = problem
84 deps[module] = [d for d in dependencies.strip().split(' ') if d != ""]
85 for dep in deps[module]:
88 reverse_deps[dep].append(module)
91 for module in problems:
93 if len(deps[module]) != 0:
97 if len(problems[module]) > 0:
98 extra = " ({})".format(problems[module])
99 results.append((count_deps(reverse_deps, module, []), module + extra, module_types[module]))
111 for (count, module, module_type) in results:
112 print("{:>{}} {}".format(count, count_width, module))