summaryrefslogtreecommitdiff
path: root/bin/addons/base/module/module.py
diff options
context:
space:
mode:
authorChristophe Simonis <chs@tinyerp.com>2008-10-28 10:48:51 +0100
committerChristophe Simonis <chs@tinyerp.com>2008-10-28 10:48:51 +0100
commit41c89fa5f3693823301d9e2a88cfee817ec0deee (patch)
tree06eefe31504198af00aa5be2b3cfd1835875d86d /bin/addons/base/module/module.py
parent430c32855e6c66bc99545d6edc74e3acfffc68fd (diff)
bugfix with boken addons symlinks
bzr revid: chs@tinyerp.com-20081028094851-v7cpms0hnozu0fin
Diffstat (limited to 'bin/addons/base/module/module.py')
-rw-r--r--bin/addons/base/module/module.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/addons/base/module/module.py b/bin/addons/base/module/module.py
index e3793a298d6..27f390a3bd1 100644
--- a/bin/addons/base/module/module.py
+++ b/bin/addons/base/module/module.py
@@ -443,7 +443,7 @@ class module(osv.osv):
continue
terp_file = addons.get_module_resource(name, '__terp__.py')
mod_path = addons.get_module_path(name)
- if os.path.isdir(mod_path) or os.path.islink(mod_path) or zipfile.is_zipfile(mod_path):
+ if mod_path and (os.path.isdir(mod_path) or os.path.islink(mod_path) or zipfile.is_zipfile(mod_path)):
terp = self.get_module_info(mod_name)
if not terp or not terp.get('installable', True):
continue