New Google Calendar Module



Here is a much improved Google Calendar Module. I included a patch to
EvolutionModule.py that uses the new changes to evolution-python for
vtimezones. Let me know if I am not following conventions, submitted the
patch incorrectly, etc...

Again, I wouldn't use this for important data, although I think I got
most things to work. The only thing I know doesn't work is recur
exceptions. So if you edit/delete one instance of a recurring event,
this won't be handled properly.

-Paul
Index: conduit/dataproviders/EvolutionModule/EvolutionModule.py
===================================================================
--- conduit/dataproviders/EvolutionModule/EvolutionModule.py	(revision 825)
+++ conduit/dataproviders/EvolutionModule/EvolutionModule.py	(working copy)
@@ -219,7 +219,7 @@
         """
         raw = self.calendar.get_object(LUID, "")
         event = Event.Event(None)
-        event.set_from_ical_string(raw.get_as_string())
+        event.set_from_ical_string(self.calendar.get_object_as_string(raw))
         event.set_UID(raw.get_uid())
         event.set_mtime(datetime.datetime.fromtimestamp(raw.get_modified()))
         return event

Attachment: GoogleModule-0.0.2.tar.gz
Description: application/compressed-tar



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