Commit 7bb854ad by huangjing

hj

parent 5cd367d6
...@@ -33,9 +33,9 @@ class IndexGet: ...@@ -33,9 +33,9 @@ class IndexGet:
indexItem.IndexName = row[2] indexItem.IndexName = row[2]
funs = str(row[3]) funs = str(row[3])
if "max" not in funs and "min" not in funs: if "max" not in funs and "min" not in funs:
funs=str(row[3]).replace("\n","").replace(";",";").replace(")]","))").replace("AND","and").replace("OR","or").replace("[(","((").split(";") funs=str(row[3]).replace("\n","").replace(";",";").replace(")]","))").replace("AND","and").replace("OR","or").replace("[(","((").replace(">",">").replace("<","<").split(";")
else: else:
funs=str(row[3]).replace("\n","").replace(";",";").replace("AND","and").replace("OR","or").split(";") funs=str(row[3]).replace("\n","").replace(";",";").replace("AND","and").replace("OR","or").replace(">",">").replace("<","<").split(";")
funsGrp=[] funsGrp=[]
for fun in funs: for fun in funs:
funsGrp.append(fun) funsGrp.append(fun)
......
Markdown is supported
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