[CalendarServer-changes] [7723] CalendarServer/branches/users/glyph/disable-quota/txdav/caldav/ icalendarstore.py

source_changes at macosforge.org source_changes at macosforge.org
Thu Jul 7 02:34:58 PDT 2011


Revision: 7723
          http://trac.macosforge.org/projects/calendarserver/changeset/7723
Author:   glyph at apple.com
Date:     2011-07-07 02:34:58 -0700 (Thu, 07 Jul 2011)
Log Message:
-----------
Document that quotaAllowedBytes is allowed to return None for "no quota".

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/disable-quota/txdav/caldav/icalendarstore.py

Modified: CalendarServer/branches/users/glyph/disable-quota/txdav/caldav/icalendarstore.py
===================================================================
--- CalendarServer/branches/users/glyph/disable-quota/txdav/caldav/icalendarstore.py	2011-07-07 09:34:47 UTC (rev 7722)
+++ CalendarServer/branches/users/glyph/disable-quota/txdav/caldav/icalendarstore.py	2011-07-07 09:34:58 UTC (rev 7723)
@@ -178,11 +178,12 @@
     def quotaAllowedBytes():
         """
         The number of bytes of data that the user is allowed to store in this
-        calendar home.
+        calendar home.  If quota is not enforced for this calendar home, this
+        will return C{None}.
 
-        Currently this is only enforced / tracked against attachment data.
+        Currently this is only enforced against attachment data.
 
-        @rtype: C{int}
+        @rtype: C{int} or C{NoneType}
         """
 
 
@@ -190,6 +191,8 @@
         """
         The number of bytes counted towards the user's quota.
 
+        Currently this is only tracked against attachment data.
+
         @rtype: C{int}
         """
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110707/91003994/attachment.html>


More information about the calendarserver-changes mailing list