[Commits] (donn) Fixed an unhandled exception editing a contact
commits at osafoundation.org
commits at osafoundation.org
Wed Sep 29 15:16:09 PDT 2004
Commit by: donn
Modified files:
chandler/parcels/osaf/framework/blocks/detail/Detail.py 1.42 1.43
Log message:
Fixed an unhandled exception editing a contact
ViewCVS links:
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/framework/blocks/detail/Detail.py.diff?r1=text&tr1=1.42&r2=text&tr2=1.43
Index: chandler/parcels/osaf/framework/blocks/detail/Detail.py
diff -u chandler/parcels/osaf/framework/blocks/detail/Detail.py:1.42 chandler/parcels/osaf/framework/blocks/detail/Detail.py:1.43
--- chandler/parcels/osaf/framework/blocks/detail/Detail.py:1.42 Tue Sep 28 16:18:12 2004
+++ chandler/parcels/osaf/framework/blocks/detail/Detail.py Wed Sep 29 15:16:08 2004
@@ -1,5 +1,5 @@
-__version__ = "$Revision: 1.42 $"
-__date__ = "$Date: 2004/09/28 23:18:12 $"
+__version__ = "$Revision: 1.43 $"
+__date__ = "$Date: 2004/09/29 22:16:08 $"
__copyright__ = "Copyright (c) 2004 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
@@ -803,7 +803,10 @@
processedAddresses, validAddresses = self.parseEmailAddresses (item, widgetString)
section.setAttributeValue('emailAddresses', validAddresses)
for address in validAddresses:
- address.fullName = section.fullName
+ try:
+ address.fullName = section.fullName
+ except AttributeError:
+ pass
widget.SetValue (processedAddresses)
def loadAttributeIntoWidget(self, item, widget):
More information about the Commits
mailing list