admindb.py adds extra nl's to msg bodies

Bug #265550 reported by Dmick
2
Affects Status Importance Assigned to Milestone
GNU Mailman
Fix Released
Medium
Unassigned

Bug Description

admindb, when it displays held messages, adds newlines between each
line of the message excerpt.

Here's a fix; not sure if it's ham-handed or not, but it avoids an
extra import of string. Maybe there's something more elegant
than join() here:

Index: admindb.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/Cgi/admindb.py,v
retrieving revision 2.18
diff -r2.18 admindb.py
263c263,264
< body = NL.join(lines)[:mm_cfg.ADMINDB_PAGE_TEXT_LIMIT]
---
> NULL = ""
> body = NULL.join(lines[:mm_cfg.ADMINDB_PAGE_TEXT_LIMIT])

[http://sourceforge.net/tracker/index.php?func=detail&aid=464898&group_id=103&atid=100103]

Revision history for this message
Dmick (dmick) wrote :

Fixed in latest CVS

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.