bugfix with boken addons symlinks
bzr revid: chs@tinyerp.com-20081028094851-v7cpms0hnozu0fin
This commit is contained in:
@@ -178,6 +178,8 @@ def create_graph(module_list, force=None):
|
||||
module = module[:-4]
|
||||
try:
|
||||
mod_path = get_module_path(module)
|
||||
if not mod_path:
|
||||
continue
|
||||
except IOError:
|
||||
continue
|
||||
terp_file = get_module_resource(module, '__terp__.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
|
||||
|
||||
Reference in New Issue
Block a user