mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 06:58:30 +01:00
Whitespace Standardization [MDB IGNORE] (#15748)
* Update settings * Whitespace changes * Comment out merger hooks in gitattributes Corrupt maps would have to be resolved in repo before hooks could be updated * Revert "Whitespace changes" This reverts commitafbdd1d844. * Whitespace again minus example * Gitignore example changelog * Restore changelog merge setting * Keep older dmi hook attribute until hooks can be updated * update vscode settings too * Renormalize remaining * Revert "Gitignore example changelog" This reverts commitde22ad375d. * Attempt to normalize example.yml (and another file I guess) * Try again
This commit is contained in:
+28
-28
@@ -1,28 +1,28 @@
|
||||
def htr(data):
|
||||
ignore = False
|
||||
if type(data) == list:
|
||||
b = []
|
||||
for olio in data:
|
||||
tempolio = ""
|
||||
for letter in olio:
|
||||
if letter == "<":
|
||||
ignore = True
|
||||
else:
|
||||
pass
|
||||
if ignore != True:
|
||||
tempolio += letter
|
||||
else:
|
||||
pass
|
||||
if letter == ">":
|
||||
ignore = False
|
||||
else:
|
||||
pass
|
||||
tempolio = tempolio.replace("\t","")
|
||||
if len(tempolio) == 0:
|
||||
pass
|
||||
elif len(tempolio.replace(" ","")) == 0:
|
||||
pass
|
||||
else:
|
||||
b.append(tempolio)
|
||||
#Finetuning
|
||||
return b
|
||||
def htr(data):
|
||||
ignore = False
|
||||
if type(data) == list:
|
||||
b = []
|
||||
for olio in data:
|
||||
tempolio = ""
|
||||
for letter in olio:
|
||||
if letter == "<":
|
||||
ignore = True
|
||||
else:
|
||||
pass
|
||||
if ignore != True:
|
||||
tempolio += letter
|
||||
else:
|
||||
pass
|
||||
if letter == ">":
|
||||
ignore = False
|
||||
else:
|
||||
pass
|
||||
tempolio = tempolio.replace("\t","")
|
||||
if len(tempolio) == 0:
|
||||
pass
|
||||
elif len(tempolio.replace(" ","")) == 0:
|
||||
pass
|
||||
else:
|
||||
b.append(tempolio)
|
||||
#Finetuning
|
||||
return b
|
||||
|
||||
Reference in New Issue
Block a user