trim-src.py: Some beautification to whitespaces

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2017-11-18 16:59:23 +01:00
commit a9aadbad5a

View file

@ -63,7 +63,7 @@ class CmdBeautify(TrimSourceCmd):
if m is None: if m is None:
r += line r += line
continue continue
r += misc.pad(m.group(1), indent - len(m.group(2))) + m.group(2) + m.group(3) + ' ' + m.group(4) + '\n' r += misc.pad(m.group(1) + ' ', indent - len(m.group(2))) + m.group(2) + m.group(3) + ' ' + m.group(4) + '\n'
# -- trailing white space # -- trailing white space
contents = r contents = r