[CalendarServer-changes] [4345] CalendarServer/trunk/twistedcaldav/scheduling/scheduler.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Jun 16 07:05:16 PDT 2009


Revision: 4345
          http://trac.macosforge.org/projects/calendarserver/changeset/4345
Author:   cdaboo at apple.com
Date:     2009-06-16 07:05:14 -0700 (Tue, 16 Jun 2009)
Log Message:
-----------
Make VFREEBUSY logging a separate option.

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/scheduling/scheduler.py

Modified: CalendarServer/trunk/twistedcaldav/scheduling/scheduler.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/scheduling/scheduler.py	2009-06-16 07:12:47 UTC (rev 4344)
+++ CalendarServer/trunk/twistedcaldav/scheduling/scheduler.py	2009-06-16 14:05:14 UTC (rev 4345)
@@ -315,9 +315,10 @@
         # tracking the activities of a specific user.
         #
         if isinstance(self.organizer, LocalCalendarUser):
-            if accountingEnabled("iTIP", self.organizer.principal):
+            accountingType = "iTIP-VFREEBUSY" if self.calendar.mainType() == "VFREEBUSY" else "iTIP"
+            if accountingEnabled(accountingType, self.organizer.principal):
                 emitAccounting(
-                    "iTIP", self.organizer.principal,
+                    accountingType, self.organizer.principal,
                     "Originator: %s\nRecipients:\n%sServer Instance:%s\nMethod:%s\n\n%s"
                     % (
                         str(self.originator),
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20090616/3f2e0a85/attachment.html>


More information about the calendarserver-changes mailing list