From f6091c7ca649f478bfabfa931849acade6a3cd54 Mon Sep 17 00:00:00 2001 From: Jean-Philippe ARGAUD Date: Mon, 15 Oct 2012 11:06:11 +0200 Subject: [PATCH] Correcting file path update in resources --- resources/ADAOSchemaCatalog.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 -- 2.39.2