[CalendarServer-changes] [279]
CalendarServer/trunk/twistedcaldav/ical.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Oct 18 20:13:10 PDT 2006
Revision: 279
http://trac.macosforge.org/projects/calendarserver/changeset/279
Author: wsanchez at apple.com
Date: 2006-10-18 20:13:09 -0700 (Wed, 18 Oct 2006)
Log Message:
-----------
Don't raise in validation if there are defined-but-unused time zone components, since it's not illegal.
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/ical.py
Modified: CalendarServer/trunk/twistedcaldav/ical.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/ical.py 2006-10-18 22:35:15 UTC (rev 278)
+++ CalendarServer/trunk/twistedcaldav/ical.py 2006-10-19 03:13:09 UTC (rev 279)
@@ -793,12 +793,15 @@
#
# FIXME:
- # This test is not part of the spec; comment out unless debugging, as it
- # appears to be legal (but goofy?) to have extra timezone components.
+ # This test is not part of the spec; it appears to be legal (but
+ # goofy?) to have extra timezone components.
#
for timezone in timezones:
if timezone not in timezone_refs:
- raise ValueError("Timezone %s is not referenced by any non-timezone component" % (timezone,))
+ #raise ValueError(
+ log.msg(
+ "Timezone %s is not referenced by any non-timezone component" % (timezone,)
+ )
def transformAllFromNative(self):
self._vobject = self._vobject.transformFromNative()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20061018/70fd3fdc/attachment.html
More information about the calendarserver-changes
mailing list