diff options
| author | Christophe Simonis <christophe@tinyerp.com> | 2008-07-22 16:24:36 +0200 |
|---|---|---|
| committer | Christophe Simonis <christophe@tinyerp.com> | 2008-07-22 16:24:36 +0200 |
| commit | 2dd9723b8b3d38df8c8962300ab67afffa5cdaaa (patch) | |
| tree | 13dbea91b265af5ad775af16efcdef4ae6ef962c /bin/addons/module_graph.py | |
| parent | c5c7c2ef07b346b72eb5a48d6e8cc7a433fba2e8 (diff) | |
convert tabs to 4 spaces
bzr revid: christophe@tinyerp.com-20080722142436-143iu4ryy47w3av0
Diffstat (limited to 'bin/addons/module_graph.py')
| -rw-r--r-- | bin/addons/module_graph.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/bin/addons/module_graph.py b/bin/addons/module_graph.py index 6df397ac8af..a853eb8aa1f 100644 --- a/bin/addons/module_graph.py +++ b/bin/addons/module_graph.py @@ -45,13 +45,13 @@ done = [] print 'digraph G {' while len(modules): - f = modules.pop(0) - done.append(f) - if os.path.isfile(os.path.join(f,"__terp__.py")): - info=eval(file(os.path.join(f,"__terp__.py")).read()) - if info.get('installable', True): - for name in info['depends']: - if name not in done+modules: - modules.append(name) - print '\t%s -> %s;' % (f, name) + f = modules.pop(0) + done.append(f) + if os.path.isfile(os.path.join(f,"__terp__.py")): + info=eval(file(os.path.join(f,"__terp__.py")).read()) + if info.get('installable', True): + for name in info['depends']: + if name not in done+modules: + modules.append(name) + print '\t%s -> %s;' % (f, name) print '}' |
