Revision: 4112 http://trac.macosforge.org/projects/calendarserver/changeset/4112 Author: wsanchez@apple.com Date: 2009-04-29 12:57:50 -0700 (Wed, 29 Apr 2009) Log Message: ----------- epydoc cleanup Contributed by agx@sigxcpu.org Fixes #272 Modified Paths: -------------- CalendarServer/trunk/twext/python/_plistlib.py CalendarServer/trunk/twistedcaldav/admin/logs.py CalendarServer/trunk/twistedcaldav/admin/principals.py CalendarServer/trunk/twistedcaldav/admin/purge.py CalendarServer/trunk/twistedcaldav/admin/script.py CalendarServer/trunk/twistedcaldav/admin/stats.py CalendarServer/trunk/twistedcaldav/static.py Modified: CalendarServer/trunk/twext/python/_plistlib.py =================================================================== --- CalendarServer/trunk/twext/python/_plistlib.py 2009-04-29 17:43:31 UTC (rev 4111) +++ CalendarServer/trunk/twext/python/_plistlib.py 2009-04-29 19:57:50 UTC (rev 4112) @@ -26,7 +26,7 @@ The <data> plist type is supported through the Data class. This is a thin wrapper around a Python string. -Generate Plist example: +Generate Plist example:: pl = dict( aString="Doodah", @@ -47,7 +47,7 @@ pl[u'\xc5benraa'] = "That was a unicode key." writePlist(pl, fileName) -Parse Plist example: +Parse Plist example:: pl = readPlist(pathOrFile) print pl["aKey"] Modified: CalendarServer/trunk/twistedcaldav/admin/logs.py =================================================================== --- CalendarServer/trunk/twistedcaldav/admin/logs.py 2009-04-29 17:43:31 UTC (rev 4111) +++ CalendarServer/trunk/twistedcaldav/admin/logs.py 2009-04-29 19:57:50 UTC (rev 4112) @@ -14,12 +14,11 @@ # limitations under the License. ## """ - Log Stats: - # Invitations sent per day/week/month - # bytes out (bytes in not provided in the current log format.)/ - # requests - user agents - +Logging Statistics: + - # Invitations sent per day/week/month + - # bytes out (bytes in not provided in the current log format) + - # requests + - user agents """ import datetime Modified: CalendarServer/trunk/twistedcaldav/admin/principals.py =================================================================== --- CalendarServer/trunk/twistedcaldav/admin/principals.py 2009-04-29 17:43:31 UTC (rev 4111) +++ CalendarServer/trunk/twistedcaldav/admin/principals.py 2009-04-29 19:57:50 UTC (rev 4112) @@ -15,10 +15,10 @@ ## """ Account Stats: - # of calendars - # of events - # storage used (including things that don't count against quota?) - Last login? + - # of calendars + - # of events + - # storage used (including things that don't count against quota?) + - Last login? """ from twistedcaldav.admin import util Modified: CalendarServer/trunk/twistedcaldav/admin/purge.py =================================================================== --- CalendarServer/trunk/twistedcaldav/admin/purge.py 2009-04-29 17:43:31 UTC (rev 4111) +++ CalendarServer/trunk/twistedcaldav/admin/purge.py 2009-04-29 19:57:50 UTC (rev 4112) @@ -23,12 +23,12 @@ Recursively purge all events older than purgeDate. for VTODO: - * if completed - * purge if it's dueDate is older than purgeDate. + - if completed + - purge if it's dueDate is older than purgeDate. for V*: - * purge if endDate is older than purgeDate - """ + - purge if endDate is older than purgeDate + """ from twistedcaldav import ical Modified: CalendarServer/trunk/twistedcaldav/admin/script.py =================================================================== --- CalendarServer/trunk/twistedcaldav/admin/script.py 2009-04-29 17:43:31 UTC (rev 4111) +++ CalendarServer/trunk/twistedcaldav/admin/script.py 2009-04-29 19:57:50 UTC (rev 4112) @@ -16,14 +16,10 @@ """ Examples: - - caladmin users - - caladmin purge - - caladmin backup - - caladmin restore + - caladmin users + - caladmin purge + - caladmin backup + - caladmin restore """ import sys, os Modified: CalendarServer/trunk/twistedcaldav/admin/stats.py =================================================================== --- CalendarServer/trunk/twistedcaldav/admin/stats.py 2009-04-29 17:43:31 UTC (rev 4111) +++ CalendarServer/trunk/twistedcaldav/admin/stats.py 2009-04-29 19:57:50 UTC (rev 4112) @@ -17,10 +17,10 @@ """ Statisitcs Types: - Overall Stats: - # of accounts - # of calendars - # of events + - Overall Stats: + - # of accounts + - # of calendars + - # of events """ Modified: CalendarServer/trunk/twistedcaldav/static.py =================================================================== --- CalendarServer/trunk/twistedcaldav/static.py 2009-04-29 17:43:31 UTC (rev 4111) +++ CalendarServer/trunk/twistedcaldav/static.py 2009-04-29 19:57:50 UTC (rev 4112) @@ -457,8 +457,7 @@ def quotaSize(self, request): """ Get the size of this resource. - TODO: Take into account size of dead-properties. Does stat - include xattrs size? + TODO: Take into account size of dead-properties. Does stat include xattrs size? @return: an L{Deferred} with a C{int} result containing the size of the resource. """
participants (1)
-
source_changes@macosforge.org