diff options
| author | Harry (Open ERP) <hmo@tinyerp.com> | 2009-11-24 20:14:05 +0530 |
|---|---|---|
| committer | Harry (Open ERP) <hmo@tinyerp.com> | 2009-11-24 20:14:05 +0530 |
| commit | d8ce3f1e2a5a55f0c28eb1cf8cb4cfcd2d6d5dab (patch) | |
| tree | f1dbd61528db0d90cebb5f2b5e4e836f00f71aef /bin/addons/__init__.py | |
| parent | dda5ed6bb1710e4690c1e01fe4265cc7db147068 (diff) | |
[FIX] replaced <TAB> with four white space.
bzr revid: hmo@tinyerp.com-20091124144405-9mzd91chohvf0uu7
Diffstat (limited to 'bin/addons/__init__.py')
| -rw-r--r-- | bin/addons/__init__.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/addons/__init__.py b/bin/addons/__init__.py index 713dc88b793..395cf573c0a 100644 --- a/bin/addons/__init__.py +++ b/bin/addons/__init__.py @@ -52,10 +52,10 @@ sys.path.insert(1, _ad) ad_cnt=1 for adp in ad_paths: if adp != _ad: - sys.path.insert(ad_cnt, adp) - ad_cnt+=1 + sys.path.insert(ad_cnt, adp) + ad_cnt+=1 -ad_paths.append(_ad) # for get_module_path +ad_paths.append(_ad) # for get_module_path # Modules already loaded loaded = [] @@ -289,7 +289,7 @@ def get_modules(): plist = [] for ad in ad_paths: - plist.extend(listdir(ad)) + plist.extend(listdir(ad)) return list(set(plist)) def get_modules_with_version(): @@ -318,7 +318,7 @@ def upgrade_graph(graph, cr, module_list, force=None): mod_path = get_module_path(module) terp_file = get_module_resource(module, '__terp__.py') if not mod_path or not terp_file: - logger.notifyChannel('init', netsvc.LOG_WARNING, 'module %s: not installable' % (module)) + logger.notifyChannel('init', netsvc.LOG_WARNING, 'module %s: not installable' % (module)) cr.execute("update ir_module_module set state=%s where name=%s", ('uninstallable', module)) continue |
