[FIX]quality_integration_server: fixe problem on make link of extra-module in addons

bzr revid: hmo@tinyerp.com-20090917072125-y63krel1152ox742
This commit is contained in:
Harry (Open ERP) 2009-09-17 12:51:25 +05:30
parent acfd835091
commit 3863324930
1 changed files with 2 additions and 2 deletions

View File

@ -195,8 +195,8 @@ def drop_db(uri, dbname):
def make_links(uri, uid, dbname, source, destination, module, user, pwd):
if module in ('base','quality_integration_server'):
return True
if not os.path.islink(destination + module):
if not os.path.isdir(destination + module):
if not os.path.islink(destination + '/' + module):
if not os.path.isdir(destination + '/' + module):
for path in source:
if os.path.isdir(path + '/' + module):
os.symlink(path + '/' + module, destination + '/' + module)