summaryrefslogtreecommitdiff
path: root/alot/crypto.py
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2017-08-31 15:19:15 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2017-09-01 15:33:15 +0100
commit134d791f94dec9bf06b98a9881495a435c191bd3 (patch)
tree598cb50b34a1e8346c114dbf50c0a013cb3d5f48 /alot/crypto.py
parent0df1c905aee10308069d9db9e396714feabc4ce4 (diff)
pep8 fixes
This mostly shortens lines down to <=79 chars and fixes some other small things I found using the pep8 tool.
Diffstat (limited to 'alot/crypto.py')
-rw-r--r--alot/crypto.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/alot/crypto.py b/alot/crypto.py
index f3dd6d11..6e3e8fa6 100644
--- a/alot/crypto.py
+++ b/alot/crypto.py
@@ -152,7 +152,8 @@ def detached_signature_for(plaintext_str, keys):
"""
ctx = gpg.core.Context(armor=True)
ctx.signers = keys
- (sigblob, sign_result) = ctx.sign(plaintext_str, mode=gpg.constants.SIG_MODE_DETACH)
+ (sigblob, sign_result) = ctx.sign(plaintext_str,
+ mode=gpg.constants.SIG_MODE_DETACH)
return sign_result.signatures, sigblob