We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8e0f3a commit adaf864Copy full SHA for adaf864
1 file changed
src/ecdsa/der.py
@@ -465,11 +465,7 @@ def unpem(pem):
465
pem = pem.encode()
466
467
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
- )
+ d = b"".join(l for l in lines if l and not l.startswith(b"-----"))
473
return base64.b64decode(d)
474
475
0 commit comments