aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/runners/outgoing.py
diff options
context:
space:
mode:
authorJ08nY2017-06-22 19:17:21 +0200
committerJ08nY2017-06-22 19:17:21 +0200
commite74efa507117bd449695bfc9dc1fb3ed473fd3eb (patch)
tree1bd811ab7b4b5c78ced27c7f05d871f861e9ba86 /src/mailman_pgp/runners/outgoing.py
parent5014e7a75f02f8c707847122ff43b37064247a43 (diff)
downloadmailman-pgp-e74efa507117bd449695bfc9dc1fb3ed473fd3eb.tar.gz
mailman-pgp-e74efa507117bd449695bfc9dc1fb3ed473fd3eb.tar.zst
mailman-pgp-e74efa507117bd449695bfc9dc1fb3ed473fd3eb.zip
Rename the rest, s/encrypted/PGP[ enabled]/g.
Diffstat (limited to 'src/mailman_pgp/runners/outgoing.py')
-rw-r--r--src/mailman_pgp/runners/outgoing.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman_pgp/runners/outgoing.py b/src/mailman_pgp/runners/outgoing.py
index 646822b..89125a7 100644
--- a/src/mailman_pgp/runners/outgoing.py
+++ b/src/mailman_pgp/runners/outgoing.py
@@ -31,9 +31,9 @@ from mailman_pgp.model.list import PGPMailingList
class OutgoingRunner(Runner):
def _dispose(self, mlist: MailingList, msg: Message, msgdata: dict):
"""See `IRunner`."""
- encrypted_list = PGPMailingList.query().filter_by(
+ pgp_list = PGPMailingList.query().filter_by(
list_id=mlist.list_id).first()
- if not encrypted_list:
+ if not pgp_list:
outq = config.get('queues', 'out')
mailman_config.switchboards[outq].enqueue(msg,
msgdata,