conduit r1556 - in trunk: . conduit/modules
- From: johncarr svn gnome org
- To: svn-commits-list gnome org
- Subject: conduit r1556 - in trunk: . conduit/modules
- Date: Tue, 15 Jul 2008 15:37:25 +0000 (UTC)
Author: johncarr
Date: Tue Jul 15 15:37:25 2008
New Revision: 1556
URL: http://svn.gnome.org/viewvc/conduit?rev=1556&view=rev
Log:
Grab FN from incoming XML
Modified:
   trunk/   (props changed)
   trunk/conduit/modules/SynceModule.py
Modified: trunk/conduit/modules/SynceModule.py
==============================================================================
--- trunk/conduit/modules/SynceModule.py	(original)
+++ trunk/conduit/modules/SynceModule.py	Tue Jul 15 15:37:25 2008
@@ -237,7 +237,11 @@
             if node.nodeName == "FileAs":
                 pass
             elif node.nodeName == "FormattedName":
-                pass
+                try:
+		    c.vcard.fn
+		except:
+		    c.vcard.add('fn')
+		c.vcard.fn.value = S(node.getElementsByTagName('Content'))
             elif node.nodeName == "Name":
                 family = S(node.getElementsByTagName('LastName'))
                 given = S(node.getElementsByTagName('FirstName'))
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]