diff options
| author | J08nY | 2017-06-22 19:17:21 +0200 |
|---|---|---|
| committer | J08nY | 2017-06-22 19:17:21 +0200 |
| commit | e74efa507117bd449695bfc9dc1fb3ed473fd3eb (patch) | |
| tree | 1bd811ab7b4b5c78ced27c7f05d871f861e9ba86 /src/mailman_pgp/runners/outgoing.py | |
| parent | 5014e7a75f02f8c707847122ff43b37064247a43 (diff) | |
| download | mailman-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.py | 4 |
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, |
