Fix pylint warnings

This commit is contained in:
Roman Zeyde
2019-09-26 08:55:10 +03:00
parent b75cf74976
commit ab6892f42f
4 changed files with 4 additions and 7 deletions

View File

@@ -173,9 +173,7 @@ def sign_digest(sock, keygrip, digest, sp=subprocess, environ=None):
assert communicate(sock, 'PKSIGN') == b'OK'
while True:
line = recvline(sock).strip()
if line.startswith(b'S PROGRESS'):
continue
else:
if not line.startswith(b'S PROGRESS'):
break
line = unescape(line)
log.debug('unescaped: %r', line)