Python: Fix code style issues

This commit is contained in:
Martin Thoma
2022-03-11 07:44:56 +01:00
parent 43a3758698
commit 4adb34f25c
15 changed files with 258 additions and 226 deletions

View File

@@ -66,7 +66,6 @@ def add_ljust(line, s, pos):
# adds a new field to a line left justified starting at pos
s = str(s)
slen = len(s)
if len(line) > pos:
line = line[:pos]
if len(line) < pos: