From e916f04ea2bd2928609834ad90ec7c6ae6813edb Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Tue, 20 Jan 2009 11:42:02 +0100 Subject: [PATCH] [IMP] module_graph.py: unknow modules are in red bzr revid: christophe@tinyerp.com-20090120104202-eu36hnnlsx2yqhwl --- bin/addons/module_graph.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/addons/module_graph.py b/bin/addons/module_graph.py index a1178d2d89d..68cfb679804 100755 --- a/bin/addons/module_graph.py +++ b/bin/addons/module_graph.py @@ -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 '}'