[PY3] Removing TAB issues

Via this command :
find . -name "*.py" | xargs grep -Prl "\t" | xargs python  /local00/home/J42254/Projets/SALOME/Installations/prerequisites/src/Python-352-tcl8513-tk8513/Tools/scripts/reindent.py
This commit is contained in:
Nicolas Geimer 2017-03-20 13:22:47 +01:00
parent d8428a892b
commit 84cf6c4911
25 changed files with 2734 additions and 2757 deletions

View File

@ -80,4 +80,3 @@ def set_env(args):
break
os.environ["SMESH_MeshersList"] = ":".join(plugin_list)
os.environ["SalomeAppConfig"] = os.environ["SalomeAppConfig"] + psep + psep.join(resource_path_list)

View File

@ -26,4 +26,3 @@ def Message (code) :
print MessageString
#if code > 1 : sys.exit()
return 1

View File

@ -180,6 +180,3 @@ def SortList (ValList, CritList):
index = CritList.index(SortedCritList[i])
Output.append(ValList[index])
return Output

View File

@ -247,4 +247,3 @@ def ExtrapPoint (Ptref,Vref1,Vref2,Delta):
X = Ptref[0] + Vref1[0] + Delta*Vref2[0]
Y = Ptref[1] + Vref1[1] + Delta*Vref2[1]
return (X,Y,)

View File

@ -868,4 +868,3 @@ def SortPoints(Points):
for PtIndex in Order[:-1]: Output.append(Points[PtIndex])
return Output

View File

@ -296,5 +296,3 @@ class MacObject:
Boxes = [self.GeoPar]
return Boxes

View File

@ -244,4 +244,3 @@ def NormalizeVector (V,Norm):
Norm = float(Norm)
MagV = math.sqrt(V[0]*V[0]+V[1]*V[1]+V[2]*V[2])
return [Coor*Norm/MagV for Coor in V]

View File

@ -28,4 +28,3 @@ if __name__ == "__main__":
maBase.initialise()
maBase.importFromCSV(folder,options.partiel,options.force)
maBase.close()

View File

@ -111,5 +111,3 @@ class TableDeBase :
if self.FieldTypeListe[i]=='str' : listeValTypee.append(listeVal[i])
if force==1 : self.insereOuRemplaceLigne(tuple(listeValTypee))
if force==0 : self.insereLigne(tuple(listeValTypee))

View File

@ -28,4 +28,3 @@ class TableMachines (TableDeBase):
nom=str(query.value(0).toString())
if nb != 1 : return 0, ""
return 1, nom

View File

@ -55,5 +55,3 @@ class TableMailleurs (TableDeBase):
while(maQuery.next()):
mailleurName=maQuery.value(0).toString()
return mailleurName

View File

@ -39,6 +39,3 @@ class TableVersions (TableDeBase):
nom=query.value(1).toString()
if nb != 1 : return 0, 0, ""
return 1, id, nom

View File

@ -29,4 +29,3 @@ if __name__ == "__main__":
maBase.initialise()
maBase.passeJobs(options.all,options.salomePath,options.version,options.force,args)
maBase.close()

View File

@ -401,6 +401,3 @@ def TEST_PluginDialog():
if __name__ == "__main__":
TEST_PluginDialog()