Skip to content

Commit 075927a

Browse files
committed
pdk format removes trailing whitespace
1 parent 85cb6f5 commit 075927a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.pdk/pdk/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def remove_nonprintables(text):
4747
nps = "".join(sorted(set(chr(i) for i in range(128)) - set(string.printable)))
4848
table = str.maketrans(nps, nps[0] * len(nps))
4949
text = text.translate(table).replace(nps[0], "")
50-
return text.lstrip()
50+
return text.strip()
5151

5252

5353
class Command:

0 commit comments

Comments
 (0)