[Patches] [ python-Patches-686379 ] logging.handlers.SMTPHandler and single to address

SourceForge.net noreply@sourceforge.net
Thu, 13 Feb 2003 21:07:18 -0800


Patches item #686379, was opened at 2003-02-14 16:07
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=686379&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Anthony Baxter (anthonybaxter)
Assigned to: Nobody/Anonymous (nobody)
Summary: logging.handlers.SMTPHandler and single to address

Initial Comment:
logging.handlers.SMTPHandler should handle a single
string to address - at the moment if you mess up and 
pass a string, (e.g. 'someuser@foo.com'), you get a message
body To: line of
s@localdomain,o@localdomain,m@localdomain,... 

smtplib has the same signature, but checks for a single
string argument. This patch does the same for the logging
module.

Patch is to Lib/logging/handlers.py. Not sure if the
version
in the Python CVS is the "home" version of the code, or
if it's just an import of a different CVS.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=686379&group_id=5470