------------------------------------------------------------
revno: 1798
fixes bug: https://launchpad.net/bugs/1783417
committer: Mark Sapiro <[email protected]>
branch nick: 2.1
timestamp: Tue 2018-07-24 14:56:35 -0700
message:
  Fixed broken patch at rev. 1796.
modified:
  Mailman/Utils.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/Utils.py'
--- Mailman/Utils.py	2018-07-23 14:07:29 +0000
+++ Mailman/Utils.py	2018-07-24 21:56:35 +0000
@@ -297,7 +297,7 @@
             longest = max([len(x) for x in list_names()])
         else:
             longest = 20
-        if len(pieces[0]) > longest:
+        if pieces and len(pieces[0]) > longest:
             syslog('mischief',
                'Hostile listname: listname=%s: remote=%s', pieces[0], remote)
             pieces[0] = pieces[0][:longest] + '...'

=== modified file 'NEWS'
--- NEWS	2018-07-23 14:07:29 +0000
+++ NEWS	2018-07-24 21:56:35 +0000
@@ -5,6 +5,13 @@
 
 Here is a history of user visible changes to Mailman.
 
+2.1.29 (24-Jul-2018)
+
+  Bug Fixes
+
+    - Fixed the listinfo and admin overview pages that were broken by
+      LP: #1780874.  (LP: #1783417)
+
 2.1.28 (23-Jul-2018)
 
   Security

_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to