Skip to content

Commit adaf864

Browse files
committed
fix formatting
1 parent f8e0f3a commit adaf864

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/ecdsa/der.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -465,11 +465,7 @@ def unpem(pem):
465465
pem = pem.encode()
466466

467467
lines = (l.strip() for l in pem.split(b"\n"))
468-
d = b"".join(
469-
l
470-
for l in lines
471-
if l and not l.startswith(b"-----")
472-
)
468+
d = b"".join(l for l in lines if l and not l.startswith(b"-----"))
473469
return base64.b64decode(d)
474470

475471

0 commit comments

Comments
 (0)