Skip to content

Commit ce9ccda

Browse files
committed
flake8
1 parent 1929902 commit ce9ccda

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/ecdsa/der.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ def remove_bitstring(string, expect_unused=_sentry):
444444
raise UnexpectedDER("Empty string does not encode a bitstring")
445445
if expect_unused is _sentry:
446446
warnings.warn(
447-
"Legacy call convention used, " \
447+
"Legacy call convention used, "
448448
"expect_unused= needs to be specified",
449449
DeprecationWarning,
450450
)
@@ -510,7 +510,8 @@ def unpem(pem):
510510
pem = pem.encode()
511511

512512
d = b"".join(
513-
[l.strip() for l in pem.split(b"\n") if l and not l.startswith(b"-----")]
513+
[l.strip() for l in pem.split(b"\n") if l
514+
and not l.startswith(b"-----")]
514515
)
515516
return base64.b64decode(d)
516517

0 commit comments

Comments
 (0)