[FIX]quality_integration_server: fixe problem on make link of extra-module in addons
authorHarry (Open ERP) <hmo@tinyerp.com>
Thu, 17 Sep 2009 07:21:25 +0000 (12:51 +0530)
committerHarry (Open ERP) <hmo@tinyerp.com>
Thu, 17 Sep 2009 07:21:25 +0000 (12:51 +0530)
bzr revid: hmo@tinyerp.com-20090917072125-y63krel1152ox742

bin/addons/quality_integration_server/base_quality_interrogation.py

index 9a453d8..a75477e 100755 (executable)
@@ -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)