diff options
| author | mga@tinyerp.com <> | 2008-07-23 13:46:45 +0530 |
|---|---|---|
| committer | mga@tinyerp.com <> | 2008-07-23 13:46:45 +0530 |
| commit | c4b8ea7041dd554baded534b35cfddf8ae5e19cb (patch) | |
| tree | e6c72a5107985867af53a5a17d9b032e3045ba07 /bin/tools/misc.py | |
| parent | 501d791ea0d035a6dd016d9505940e29e98d729d (diff) | |
change the message, use tiny logging system for the standar message
change few things in to the email_send_attach method for the return type
bzr revid: mga@tinyerp.com-20080723081645-icvyqapkvum0py4n
Diffstat (limited to 'bin/tools/misc.py')
| -rw-r--r-- | bin/tools/misc.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/tools/misc.py b/bin/tools/misc.py index 345a62d625c..f534d0e84da 100644 --- a/bin/tools/misc.py +++ b/bin/tools/misc.py @@ -359,7 +359,6 @@ def email_send_attach(email_from, email_to, subject, body, email_cc=None, email_ if reply_to: msg['Reply-To'] = reply_to msg['To'] = COMMASPACE.join(email_to) - print '************', msg['To'] if email_cc: msg['Cc'] = COMMASPACE.join(email_cc) if email_bcc: @@ -393,6 +392,8 @@ def email_send_attach(email_from, email_to, subject, body, email_cc=None, email_ except Exception, e: import logging logging.getLogger().error(str(e)) + return False + return True #---------------------------------------------------------- |
