[conduit/tracker] Map ncal:location



commit 2e7f5ad054d3206a64f2b910f28d0482a0ddf5ae
Author: John Carr <john carr unrouted co uk>
Date:   Mon Jun 15 11:50:28 2009 +0100

    Map ncal:location

 conduit/modules/TrackerModule/TrackerModule.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/conduit/modules/TrackerModule/TrackerModule.py b/conduit/modules/TrackerModule/TrackerModule.py
index bca3d6e..310ac9a 100644
--- a/conduit/modules/TrackerModule/TrackerModule.py
+++ b/conduit/modules/TrackerModule/TrackerModule.py
@@ -272,6 +272,8 @@ class TrackerCalendar(DataProvider.TwoWay):
                 c.url = v
             elif k == 'recurrence-id':
                 c.recurrenceid = v
+            elif k == "location":
+                c.location = v
             elif k == "status":
                 # 'TENTATIVE' etc to an EventStatus instance
                 pass
@@ -298,6 +300,8 @@ class TrackerCalendar(DataProvider.TwoWay):
                 e.iCal.add('url').value = value
             elif key == "ncal:recurrenceId":
                 e.iCal.add('recurrence-id').value = value
+            elif key == "ncal:location":
+                e.iCal.add('location').value = value
             elif key == "ncal:status":
                 # An instance of ncal:EventStatus to represent TENTATIVE etc
                 pass



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