From 34670c601d0c1d6de7978bf792095b02312afe70 Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Sun, 17 Apr 2016 22:19:14 +0300 Subject: [PATCH] Fix PEP8 warnings --- gpg/signer.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gpg/signer.py b/gpg/signer.py index 1faf0a5..f654b37 100755 --- a/gpg/signer.py +++ b/gpg/signer.py @@ -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