[conduit/tracker] Understand mtime



commit 6b5944b36e25d63f7ca0bf69bc5ccbe56b7aa5f1
Author: John Carr <john carr unrouted co uk>
Date:   Mon Jun 15 13:59:23 2009 +0100

    Understand mtime

 conduit/modules/TrackerModule/TrackerModule.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/conduit/modules/TrackerModule/TrackerModule.py b/conduit/modules/TrackerModule/TrackerModule.py
index 5b0ccad..0c1f3ce 100644
--- a/conduit/modules/TrackerModule/TrackerModule.py
+++ b/conduit/modules/TrackerModule/TrackerModule.py
@@ -47,7 +47,7 @@ class TrackerContacts(DataProvider.TwoWay):
         DataProvider.TwoWay.get(self, LUID)
         tc = self.contacts[LUID]
         c = self._tracker_to_vcard(tc)
-        # set mtime from tracker modified
+        c.set_mtime(tc.modified)
         c.set_UID(LUID)
         return c
 
@@ -232,7 +232,7 @@ class TrackerCalendar(DataProvider.TwoWay):
         DataProvider.TwoWay.get(self, LUID)
         tc = self.events[LUID]
         c = self._tracker_to_ical(tc)
-        #FIXME: Set mtime from tc.modified
+        c.set_mtime(tc.modified)
         c.set_UID(LUID)
         return c
 



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