[CalendarServer-changes] [11856] CalDAVClientLibrary/trunk/caldavclientlibrary/client/clientsession. py

source_changes at macosforge.org source_changes at macosforge.org
Wed Mar 12 11:23:35 PDT 2014


Revision: 11856
          http://trac.calendarserver.org//changeset/11856
Author:   cdaboo at apple.com
Date:     2013-10-30 17:46:13 -0700 (Wed, 30 Oct 2013)
Log Message:
-----------
Work with older servers that do not have the CS:invite property when there are no sharees.

Modified Paths:
--------------
    CalDAVClientLibrary/trunk/caldavclientlibrary/client/clientsession.py

Modified: CalDAVClientLibrary/trunk/caldavclientlibrary/client/clientsession.py
===================================================================
--- CalDAVClientLibrary/trunk/caldavclientlibrary/client/clientsession.py	2013-10-31 00:43:37 UTC (rev 11855)
+++ CalDAVClientLibrary/trunk/caldavclientlibrary/client/clientsession.py	2013-10-31 00:46:13 UTC (rev 11856)
@@ -770,7 +770,7 @@
 
         results, bad = self.getProperties(rurl, (csxml.invite,))
         if csxml.invite in bad:
-            return None
+            return Invites()
         else:
             return Invites().parseFromInvite(results.get(csxml.invite))
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140312/9c5900cc/attachment.html>


More information about the calendarserver-changes mailing list