diff options
| author | Christophe Simonis <christophe@tinyerp.com> | 2009-01-20 11:42:02 +0100 |
|---|---|---|
| committer | Christophe Simonis <christophe@tinyerp.com> | 2009-01-20 11:42:02 +0100 |
| commit | e916f04ea2bd2928609834ad90ec7c6ae6813edb (patch) | |
| tree | 191963fd3111e13894ef716e3e3169d516ec0ba9 /bin/addons/module_graph.py | |
| parent | c228e56f93ab93dfd7dc40c187c303d8f1f15b28 (diff) | |
[IMP] module_graph.py: unknow modules are in red
bzr revid: christophe@tinyerp.com-20090120104202-eu36hnnlsx2yqhwl
Diffstat (limited to 'bin/addons/module_graph.py')
| -rwxr-xr-x | bin/addons/module_graph.py | 3 |
1 files changed, 3 insertions, 0 deletions
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 '}' |
