[IMP] module_graph.py: unknow modules are in red

bzr revid: christophe@tinyerp.com-20090120104202-eu36hnnlsx2yqhwl
This commit is contained in:
Christophe Simonis 2009-01-20 11:42:02 +01:00
parent c228e56f93
commit e916f04ea2
1 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,7 @@
#
##############################################################################
# TODO handle the case of zip modules
import os
import sys
@ -46,6 +47,8 @@ while len(modules):
for name in info['depends']:
if name not in done+modules:
modules.append(name)
if not os.path.exists(name):
print '\t%s [color=red]' % (name,)
print '\t%s -> %s;' % (f, name)
print '}'