From: Jean-Philippe ARGAUD Date: Mon, 15 Oct 2012 09:06:11 +0000 (+0200) Subject: Correcting file path update in resources X-Git-Tag: V6_6_0~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f6091c7ca649f478bfabfa931849acade6a3cd54;p=modules%2Fadao.git Correcting file path update in resources --- diff --git a/resources/ADAOSchemaCatalog.xml b/resources/ADAOSchemaCatalog.xml index fbfa931..59b199c 100644 --- a/resources/ADAOSchemaCatalog.xml +++ b/resources/ADAOSchemaCatalog.xml @@ -288,7 +288,7 @@ import os filepath = os.path.dirname(script) filename = os.path.basename(script) module_name = os.path.splitext(filename)[0] -if sys.path.count(filepath)==0 or (sys.path.count(filepath)>0 and sys.path.index(filepath,0,1)>0): +if sys.path.count(filepath)==0 or (sys.path.count(filepath)>0 and sys.path.index(filepath)>0): sys.path.insert(0,filepath) # Import script @@ -328,7 +328,7 @@ import os filepath = os.path.dirname(script) filename = os.path.basename(script) module_name = os.path.splitext(filename)[0] -if sys.path.count(filepath)==0 or (sys.path.count(filepath)>0 and sys.path.index(filepath,0,1)>0): +if sys.path.count(filepath)==0 or (sys.path.count(filepath)>0 and sys.path.index(filepath)>0): sys.path.insert(0,filepath) # Import script @@ -368,7 +368,7 @@ import os filepath = os.path.dirname(script) filename = os.path.basename(script) module_name = os.path.splitext(filename)[0] -if sys.path.count(filepath)==0 or (sys.path.count(filepath)>0 and sys.path.index(filepath,0,1)>0): +if sys.path.count(filepath)==0 or (sys.path.count(filepath)>0 and sys.path.index(filepath)>0): sys.path.insert(0,filepath) # Import script @@ -428,7 +428,7 @@ import os filepath = os.path.dirname(script) filename = os.path.basename(script) module_name = os.path.splitext(filename)[0] -if sys.path.count(filepath)==0 or (sys.path.count(filepath)>0 and sys.path.index(filepath,0,1)>0): +if sys.path.count(filepath)==0 or (sys.path.count(filepath)>0 and sys.path.index(filepath)>0): sys.path.insert(0,filepath) # Import script @@ -451,7 +451,7 @@ import os filepath = os.path.dirname(script) filename = os.path.basename(script) module_name = os.path.splitext(filename)[0] -if sys.path.count(filepath)==0 or (sys.path.count(filepath)>0 and sys.path.index(filepath,0,1)>0): +if sys.path.count(filepath)==0 or (sys.path.count(filepath)>0 and sys.path.index(filepath)>0): sys.path.insert(0,filepath) # Import script