aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp
diff options
context:
space:
mode:
authorJ08nY2017-06-20 22:31:03 +0200
committerJ08nY2017-06-20 22:31:03 +0200
commitc3630066fed88996ff0a6eab158921ed550d5cdc (patch)
tree0e472e575fcfe52a190e5b417b7bf8baa399638e /src/mailman_pgp
parent108f8854ec0b8df6f5d042e503fea0a23d679879 (diff)
downloadmailman-pgp-c3630066fed88996ff0a6eab158921ed550d5cdc.tar.gz
mailman-pgp-c3630066fed88996ff0a6eab158921ed550d5cdc.tar.zst
mailman-pgp-c3630066fed88996ff0a6eab158921ed550d5cdc.zip
Diffstat (limited to 'src/mailman_pgp')
-rw-r--r--src/mailman_pgp/model/address.py2
-rw-r--r--src/mailman_pgp/pgp/mime.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mailman_pgp/model/address.py b/src/mailman_pgp/model/address.py
index 88067df..3ef95b4 100644
--- a/src/mailman_pgp/model/address.py
+++ b/src/mailman_pgp/model/address.py
@@ -17,7 +17,7 @@
""""""
-from os.path import join, exists, isfile
+from os.path import exists, isfile, join
from mailman.database.types import SAUnicode
from pgpy import PGPKey
diff --git a/src/mailman_pgp/pgp/mime.py b/src/mailman_pgp/pgp/mime.py
index 8b87abe..67a10aa 100644
--- a/src/mailman_pgp/pgp/mime.py
+++ b/src/mailman_pgp/pgp/mime.py
@@ -47,8 +47,8 @@ class PGPMIMEWrapper:
content_subtype = self.msg.get_content_subtype()
return second_type == PGPMIMEWrapper._signed_subtype and \
- content_subtype == 'signed' and \
- protocol_param == PGPMIMEWrapper._signed_subtype
+ content_subtype == 'signed' and \
+ protocol_param == PGPMIMEWrapper._signed_subtype
def is_mime_encrypted(self):
"""