Fix PEP8 warnings
This commit is contained in:
@@ -76,6 +76,7 @@ def split_lines(body, size):
|
||||
lines.append(body[i:i+size] + '\n')
|
||||
return ''.join(lines)
|
||||
|
||||
|
||||
def armor_sig(blob):
|
||||
head = '-----BEGIN PGP SIGNATURE-----\nVersion: GnuPG v2\n\n'
|
||||
body = base64.b64encode(blob)
|
||||
@@ -83,6 +84,7 @@ def armor_sig(blob):
|
||||
tail = '-----END PGP SIGNATURE-----\n'
|
||||
return head + split_lines(body + '=' + checksum, 64) + tail
|
||||
|
||||
|
||||
class Signer(object):
|
||||
|
||||
curve = ecdsa.NIST256p
|
||||
|
||||
Reference in New Issue
Block a user