[conduit/tracker] It's iCal not ical
- From: John Carr <johncarr src gnome org>
- To: svn-commits-list gnome org
- Subject: [conduit/tracker] It's iCal not ical
- Date: Mon, 15 Jun 2009 00:46:10 -0400 (EDT)
commit 421d8f8d2c9643782fe3a7b0bd4b01f02a8749bd
Author: John Carr <john carr unrouted co uk>
Date: Mon Jun 15 05:18:16 2009 +0100
It's iCal not ical
conduit/modules/TrackerModule/TrackerModule.py | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/conduit/modules/TrackerModule/TrackerModule.py b/conduit/modules/TrackerModule/TrackerModule.py
index 4aa8b95..d9a3298 100644
--- a/conduit/modules/TrackerModule/TrackerModule.py
+++ b/conduit/modules/TrackerModule/TrackerModule.py
@@ -239,7 +239,7 @@ class TrackerCalendar(DataProvider.TwoWay):
self.events = None
def _ical_to_tracker(self, data):
- ical = data.ical
+ ical = data.iCal
c = ncal.Event.create()
@@ -271,19 +271,19 @@ class TrackerCalendar(DataProvider.TwoWay):
for key, value in tracker.properties():
if key == "ncal:description":
- e.ical.add("description").value = value
+ e.iCal.add("description").value = value
elif key == "ncal:summary":
- e.ical.add("summary").value = value
+ e.iCal.add("summary").value = value
elif key == "ncal:dtstart":
- e.ical.add('dtstart').value = value
+ e.iCal.add('dtstart').value = value
elif key == "ncal:dtend":
- e.ical.add('dtend').value = value
+ e.iCal.add('dtend').value = value
elif key == "ncal:uid":
- e.ical.add('uid').value = value
+ e.iCal.add('uid').value = value
elif key == "ncal:url":
- e.ical.add('url').value = value
+ e.iCal.add('url').value = value
elif key == "ncal:recurrenceId":
- e.ical.add('recurrence-id').value = value
+ e.iCal.add('recurrence-id').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]