[conduit/tracker] Fix typo in converting address from NCO to vcard



commit 2fed8096e177f0da2b32b107da533bffa78e8bbc
Author: John Carr <john carr unrouted co uk>
Date:   Tue Jun 16 23:08:40 2009 +0100

    Fix typo in converting address from NCO to vcard

 conduit/modules/TrackerModule/TrackerModule.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/conduit/modules/TrackerModule/TrackerModule.py b/conduit/modules/TrackerModule/TrackerModule.py
index a38adac..3ab048b 100644
--- a/conduit/modules/TrackerModule/TrackerModule.py
+++ b/conduit/modules/TrackerModule/TrackerModule.py
@@ -171,7 +171,7 @@ class TrackerContacts(DataProvider.TwoWay):
                     vadr.code = adr.postalcode
                 if adr.country:
                     vadr.country = adr.country
-                c.vcard.add('addr').value = vadr
+                c.vcard.add('adr').value = vadr
             elif key == "nco:hasPhoneNumber":
                 phone = nco.PhoneNumber(value)
                 c.vcard.add('tel').value = phone.phonenumber



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]