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

SourceForge.net noreply@sourceforge.net
Sat, 22 Feb 2003 02:05:32 -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: Library (Lib)
Group: None
>Status: Closed
>Resolution: Out of Date
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.


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

>Comment By: Anthony Baxter (anthonybaxter)
Date: 2003-02-22 21:05

Message:
Logged In: YES 
user_id=29957

the recent set of patches for logging included this patch.

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

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