mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-13 10:10:33 +05:00
[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:
parent
d8428a892b
commit
84cf6c4911
@ -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)
|
||||
|
||||
|
@ -26,4 +26,3 @@ def Message (code) :
|
||||
print MessageString
|
||||
#if code > 1 : sys.exit()
|
||||
return 1
|
||||
|
||||
|
@ -180,6 +180,3 @@ def SortList (ValList, CritList):
|
||||
index = CritList.index(SortedCritList[i])
|
||||
Output.append(ValList[index])
|
||||
return Output
|
||||
|
||||
|
||||
|
||||
|
@ -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,)
|
||||
|
||||
|
@ -868,4 +868,3 @@ def SortPoints(Points):
|
||||
for PtIndex in Order[:-1]: Output.append(Points[PtIndex])
|
||||
|
||||
return Output
|
||||
|
||||
|
@ -296,5 +296,3 @@ class MacObject:
|
||||
Boxes = [self.GeoPar]
|
||||
|
||||
return Boxes
|
||||
|
||||
|
||||
|
@ -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]
|
||||
|
||||
|
@ -28,4 +28,3 @@ if __name__ == "__main__":
|
||||
maBase.initialise()
|
||||
maBase.importFromCSV(folder,options.partiel,options.force)
|
||||
maBase.close()
|
||||
|
||||
|
@ -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))
|
||||
|
||||
|
||||
|
@ -28,4 +28,3 @@ class TableMachines (TableDeBase):
|
||||
nom=str(query.value(0).toString())
|
||||
if nb != 1 : return 0, ""
|
||||
return 1, nom
|
||||
|
||||
|
@ -55,5 +55,3 @@ class TableMailleurs (TableDeBase):
|
||||
while(maQuery.next()):
|
||||
mailleurName=maQuery.value(0).toString()
|
||||
return mailleurName
|
||||
|
||||
|
||||
|
@ -39,6 +39,3 @@ class TableVersions (TableDeBase):
|
||||
nom=query.value(1).toString()
|
||||
if nb != 1 : return 0, 0, ""
|
||||
return 1, id, nom
|
||||
|
||||
|
||||
|
||||
|
@ -29,4 +29,3 @@ if __name__ == "__main__":
|
||||
maBase.initialise()
|
||||
maBase.passeJobs(options.all,options.salomePath,options.version,options.force,args)
|
||||
maBase.close()
|
||||
|
||||
|
@ -401,6 +401,3 @@ def TEST_PluginDialog():
|
||||
|
||||
if __name__ == "__main__":
|
||||
TEST_PluginDialog()
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user