Loading setup.py +13 −9 Original line number Diff line number Diff line Loading @@ -80,7 +80,9 @@ def read_local_conf(conf_file,pattern): with open(conf_file,"r") as f: lines = f.readlines() for line in lines: if line[0]!="#": line = line.strip() if len(line)!=0: if line.strip()[0]!="#": test = line.find(pattern) if test!=-1: pars = line.split("=")[1].strip().strip("\"").split(":") Loading @@ -93,6 +95,8 @@ def read_local_conf_dev(conf_file,pattern): with open(conf_file,"r") as f: lines = f.readlines() for line in lines: line = line.strip() if len(line)!=0: if line[0]!="#": test = line.find(pattern) if test!=-1: Loading Loading
setup.py +13 −9 Original line number Diff line number Diff line Loading @@ -80,7 +80,9 @@ def read_local_conf(conf_file,pattern): with open(conf_file,"r") as f: lines = f.readlines() for line in lines: if line[0]!="#": line = line.strip() if len(line)!=0: if line.strip()[0]!="#": test = line.find(pattern) if test!=-1: pars = line.split("=")[1].strip().strip("\"").split(":") Loading @@ -93,6 +95,8 @@ def read_local_conf_dev(conf_file,pattern): with open(conf_file,"r") as f: lines = f.readlines() for line in lines: line = line.strip() if len(line)!=0: if line[0]!="#": test = line.find(pattern) if test!=-1: Loading