summaryrefslogtreecommitdiff
path: root/src/mailman/handlers/to_usenet.py
diff options
context:
space:
mode:
authorBarry Warsaw2014-12-15 13:06:58 -0500
committerBarry Warsaw2014-12-15 13:06:58 -0500
commite94434bf2b3e1cfd34028a7bbc804ec8a8ee3788 (patch)
treef2ad4f068538b458616ad8b1f0b9f6d46e781478 /src/mailman/handlers/to_usenet.py
parentd0c53890bf0c8aa531d45958f0e25fdaccbdb133 (diff)
downloadmailman-e94434bf2b3e1cfd34028a7bbc804ec8a8ee3788.tar.gz
mailman-e94434bf2b3e1cfd34028a7bbc804ec8a8ee3788.tar.zst
mailman-e94434bf2b3e1cfd34028a7bbc804ec8a8ee3788.zip
Use listid instead of (fqdn) listname in the metadata pickle.
load_external() now always opens in utf-8 mode. More test repair.
Diffstat (limited to 'src/mailman/handlers/to_usenet.py')
-rw-r--r--src/mailman/handlers/to_usenet.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mailman/handlers/to_usenet.py b/src/mailman/handlers/to_usenet.py
index d5a946644..28c18c520 100644
--- a/src/mailman/handlers/to_usenet.py
+++ b/src/mailman/handlers/to_usenet.py
@@ -65,5 +65,4 @@ class ToUsenet:
COMMASPACE.join(error))
return
# Put the message in the news runner's queue.
- config.switchboards['nntp'].enqueue(
- msg, msgdata, listname=mlist.fqdn_listname)
+ config.switchboards['nntp'].enqueue(msg, msgdata, listid=mlist.list_id)