------------------------------------------------------------
revno: 1748
fixes bug: https://launchpad.net/bugs/1755317
committer: Mark Sapiro <[email protected]>
branch nick: 2.1
timestamp: Mon 2018-03-12 17:36:25 -0700
message:
Fixed another Python 2.7 dependency.
modified:
Mailman/Handlers/ToDigest.py
NEWS
--
lp:mailman/2.1
https://code.launchpad.net/~mailman-coders/mailman/2.1
Your team Mailman Checkins is subscribed to branch lp:mailman/2.1.
To unsubscribe from this branch go to
https://code.launchpad.net/~mailman-coders/mailman/2.1/+edit-subscription
=== modified file 'Mailman/Handlers/ToDigest.py'
--- Mailman/Handlers/ToDigest.py 2017-04-26 05:33:19 +0000
+++ Mailman/Handlers/ToDigest.py 2018-03-13 00:36:25 +0000
@@ -72,10 +72,9 @@
# Convert text from unicode or lcset to output cset.
ocset = Charset(lcset).get_output_charset() or lcset
if isinstance(text, unicode):
- return text.encode(ocset, errors='replace')
+ return text.encode(ocset, 'replace')
else:
- return text.decode(lcset, errors='replace').encode(ocset,
- errors='replace')
+ return text.decode(lcset, 'replace').encode(ocset, 'replace')
=== modified file 'NEWS'
--- NEWS 2018-03-09 01:33:07 +0000
+++ NEWS 2018-03-13 00:36:25 +0000
@@ -14,6 +14,9 @@
Bug fixes and other patches
+ - A Python 2.7 dependency introduced in the ToDigests handler in Mailman
+ 2.1.24 has been removed. (LP: #1755317)
+
- Bad values in a list's topics will no longer break everything that
might instantiate the list. (LP: #1754516)
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org