We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1929902 commit ce9ccdaCopy full SHA for ce9ccda
1 file changed
src/ecdsa/der.py
@@ -444,7 +444,7 @@ def remove_bitstring(string, expect_unused=_sentry):
444
raise UnexpectedDER("Empty string does not encode a bitstring")
445
if expect_unused is _sentry:
446
warnings.warn(
447
- "Legacy call convention used, " \
+ "Legacy call convention used, "
448
"expect_unused= needs to be specified",
449
DeprecationWarning,
450
)
@@ -510,7 +510,8 @@ def unpem(pem):
510
pem = pem.encode()
511
512
d = b"".join(
513
- [l.strip() for l in pem.split(b"\n") if l and not l.startswith(b"-----")]
+ [l.strip() for l in pem.split(b"\n") if l
514
+ and not l.startswith(b"-----")]
515
516
return base64.b64decode(d)
517
0 commit comments