[Commits] (bkirsch) Added error handling to smtp code
commits at osafoundation.org
commits at osafoundation.org
Mon Aug 23 17:16:26 PDT 2004
Commit by: bkirsch
Modified files:
chandler/parcels/osaf/contentmodel/mail/Mail.py 1.19 1.20
Log message:
Added error handling to smtp code
ViewCVS links:
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/contentmodel/mail/Mail.py.diff?r1=text&tr1=1.19&r2=text&tr2=1.20
Index: chandler/parcels/osaf/contentmodel/mail/Mail.py
diff -u chandler/parcels/osaf/contentmodel/mail/Mail.py:1.19 chandler/parcels/osaf/contentmodel/mail/Mail.py:1.20
--- chandler/parcels/osaf/contentmodel/mail/Mail.py:1.19 Mon Aug 23 15:31:00 2004
+++ chandler/parcels/osaf/contentmodel/mail/Mail.py Mon Aug 23 17:16:25 2004
@@ -1,8 +1,8 @@
""" Classes used for Mail parcel kinds
"""
-__revision__ = "$Revision: 1.19 $"
-__date__ = "$Date: 2004/08/23 22:31:00 $"
+__revision__ = "$Revision: 1.20 $"
+__date__ = "$Date: 2004/08/24 00:16:25 $"
__copyright__ = "Copyright (c) 2003-2004 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
@@ -223,7 +223,7 @@
super (MailDeliveryError, self).__init__(name, parent, kind)
def __str__(self):
- return "Error Code: %d Error: %s Error Date: %s" % (self.errorCode, self.errorString, self.errorDate.strftime())
+ return "| %d | %s | %s |" % (self.errorCode, self.errorString, self.errorDate.strftime())
class MailDeliveryBase(Item.Item):
More information about the Commits
mailing list