[CalendarServer-changes] [11512] CalendarServer/branches/users/cdaboo/CalendarServer-5.0-podfix/ twistedcaldav/sharing.py

source_changes at macosforge.org source_changes at macosforge.org
Sat Jul 13 21:34:34 PDT 2013


Revision: 11512
          http://trac.calendarserver.org//changeset/11512
Author:   cdaboo at apple.com
Date:     2013-07-13 21:34:34 -0700 (Sat, 13 Jul 2013)
Log Message:
-----------
Quick fix for shared calendars from users now disabled for calendaring, but still in the DB.

Modified Paths:
--------------
    CalendarServer/branches/users/cdaboo/CalendarServer-5.0-podfix/twistedcaldav/sharing.py

Modified: CalendarServer/branches/users/cdaboo/CalendarServer-5.0-podfix/twistedcaldav/sharing.py
===================================================================
--- CalendarServer/branches/users/cdaboo/CalendarServer-5.0-podfix/twistedcaldav/sharing.py	2013-07-13 00:52:52 UTC (rev 11511)
+++ CalendarServer/branches/users/cdaboo/CalendarServer-5.0-podfix/twistedcaldav/sharing.py	2013-07-14 04:34:34 UTC (rev 11512)
@@ -1099,6 +1099,8 @@
         elif self._newStoreHome._homeType == EADDRESSBOOKTYPE:
             sharerHomeCollection = yield sharer.addressBookHome(request)
 
+        if sharerHomeCollection is None:
+            returnValue(None)
         url = joinURL(sharerHomeCollection.url(), sharerHomeChild.name())
         share = Share(shareeHomeChild=child, sharerHomeChild=sharerHomeChild,
                       url=url)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130713/ee52e7a6/attachment.html>


More information about the calendarserver-changes mailing list