aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/runners/outgoing.py
diff options
context:
space:
mode:
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 e566769..0fc9378 100644
--- a/src/mailman_pgp/runners/outgoing.py
+++ b/src/mailman_pgp/runners/outgoing.py
@@ -25,14 +25,14 @@ from public import public
from mailman_pgp.config import config
from mailman_pgp.database import query
-from mailman_pgp.model.list import EncryptedMailingList
+from mailman_pgp.model.list import PGPMailingList
@public
class OutgoingRunner(Runner):
def _dispose(self, mlist: MailingList, msg: Message, msgdata: dict):
"""See `IRunner`."""
- encrypted_list = query(EncryptedMailingList).filter_by(
+ encrypted_list = query(PGPMailingList).filter_by(
list_id=mlist.list_id).first()
if not encrypted_list:
outq = config.get('queues', 'out')