Commit cde5ec65 authored by Gino Tosti's avatar Gino Tosti
Browse files

cleaning

parent 21a3f6b8
......@@ -79,13 +79,14 @@ def setCDBEnvVar(dirname):
def createDir(dirname):
command="mkdir -p "
# print("******createDir-->"+dirname)
if dirname !="":
if os.path.exists(dirname):
print ("dir:",dirname," already exists")
return True
return False
else:
command=command+dirname
print (command)
# print (command)
execACSCommand(command)
else:
......@@ -98,7 +99,7 @@ def createCBDBaseDir(dirname):
print ("CDB base dir created")
return True
else:
print ("error")
# print ("error")
return False
def createCDBDirs():
......@@ -151,7 +152,7 @@ def createJavaContXml(name):
if createDir(javacontdir):
print ("directory:"+javacontdir+" created")
else:
print ("error creting directory:"+javacontdir)
# print ("error creating directory:"+javacontdir)
return False
javacontfile=javacontdir+"/"+name+".xml"
f = open(javacontfile,"w")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment