conduit r1551 - in trunk: . conduit/modules
- From: johncarr svn gnome org
- To: svn-commits-list gnome org
- Subject: conduit r1551 - in trunk: . conduit/modules
- Date: Tue, 15 Jul 2008 12:35:53 +0000 (UTC)
Author: johncarr
Date: Tue Jul 15 12:35:53 2008
New Revision: 1551
URL: http://svn.gnome.org/viewvc/conduit?rev=1551&view=rev
Log:
Formatted name
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 12:35:53 2008
@@ -317,7 +317,12 @@
elif chunk == "email":
pass
elif chunk == "fn":
- pass
+ v = value[0]
+ fn = doc.createElement("FormattedName")
+ c = doc.createElement("Content")
+ c.appendChild(doc.createTextNode(v.value))
+ fn.appendChild(c)
+ node.appendChild(fn)
else:
log.warning("Unhandled chunk (%s)" % chunk)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]