From 907b4d1d974d419e4d289a0101b7e5b05f6d1918 Mon Sep 17 00:00:00 2001 From: J08nY Date: Tue, 20 Jun 2017 23:56:30 +0200 Subject: Rename wrapper functions. --- src/mailman_pgp/runners/incoming.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mailman_pgp/runners/incoming.py') diff --git a/src/mailman_pgp/runners/incoming.py b/src/mailman_pgp/runners/incoming.py index 3c9c3b2..aae6bda 100644 --- a/src/mailman_pgp/runners/incoming.py +++ b/src/mailman_pgp/runners/incoming.py @@ -45,15 +45,15 @@ class IncomingRunner(Runner): # Is the message encrypted? mime = PGPMIMEWrapper(msg) inline = PGPInlineWrapper(msg) - if mime.is_mime_signed(): + if mime.is_signed(): # only signed. pass - elif mime.is_mime_encrypted(): + elif mime.is_encrypted(): # definitely encrypted, might still be signed pass - elif inline.is_inline_signed(): + elif inline.is_signed(): pass - elif inline.is_inline_encrypted(): + elif inline.is_encrypted(): pass else: # not encrypted or signed -- cgit v1.2.3-70-g09d2