[CalendarServer-changes] [13711] PyCalendar/trunk/src/pycalendar/icalendar/calendar.py
source_changes at macosforge.org
source_changes at macosforge.org
Tue Jul 1 14:13:12 PDT 2014
Revision: 13711
http://trac.calendarserver.org//changeset/13711
Author: cdaboo at apple.com
Date: 2014-07-01 14:13:12 -0700 (Tue, 01 Jul 2014)
Log Message:
-----------
Fix docstr.
Modified Paths:
--------------
PyCalendar/trunk/src/pycalendar/icalendar/calendar.py
Modified: PyCalendar/trunk/src/pycalendar/icalendar/calendar.py
===================================================================
--- PyCalendar/trunk/src/pycalendar/icalendar/calendar.py 2014-07-01 16:56:33 UTC (rev 13710)
+++ PyCalendar/trunk/src/pycalendar/icalendar/calendar.py 2014-07-01 21:13:12 UTC (rev 13711)
@@ -601,12 +601,13 @@
def includeMissingTimezones(self, includeTimezones=None):
"""
For each timezone referenced in this L{Calendar}, if the corresponding VTIMEZONE component
- is not present, then add the matching component from the timezone database. If
- L{includeTimezones} is L{False}, then only add VTIMEZONEs that are not part of the standard
- timezone database.
+ is not present, then add the matching component from the timezone database. L{includeTimezones}
+ indicates what set of timezones should be automatically included. If set to L{None} the default
+ is L{Calendar.NO_TIMEZONES}. Otherwise, one of L{Calendar.ALL_TIMEZONES}, L{Calendar.NONSTD_TIMEZONES},
+ or L{Calendar.NO_TIMEZONES} must be used.
- @param includeTimezones: indicated whether all or only non-standard timezones are included
- @type includeTimezones: L{bool}
+ @param includeTimezones: indicated whether all, only non-standard or no timezones are included
+ @type includeTimezones: L{int} or L{None}
"""
# Don't add anything in this case
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140701/16c2f2f5/attachment.html>
More information about the calendarserver-changes
mailing list