[CalendarServer-changes] [8533] CalendarServer/branches/users/glyph/skip-lonely-vtimezones

source_changes at macosforge.org source_changes at macosforge.org
Fri Jan 13 14:03:20 PST 2012


Revision: 8533
          http://trac.macosforge.org/projects/calendarserver/changeset/8533
Author:   glyph at apple.com
Date:     2012-01-13 14:03:20 -0800 (Fri, 13 Jan 2012)
Log Message:
-----------
Fix for the test: skip calendar objects which don't have a UID.

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/skip-lonely-vtimezones/txdav/caldav/datastore/util.py

Property Changed:
----------------
    CalendarServer/branches/users/glyph/skip-lonely-vtimezones/

Modified: CalendarServer/branches/users/glyph/skip-lonely-vtimezones/txdav/caldav/datastore/util.py
===================================================================
--- CalendarServer/branches/users/glyph/skip-lonely-vtimezones/txdav/caldav/datastore/util.py	2012-01-13 22:03:17 UTC (rev 8532)
+++ CalendarServer/branches/users/glyph/skip-lonely-vtimezones/txdav/caldav/datastore/util.py	2012-01-13 22:03:20 UTC (rev 8533)
@@ -143,7 +143,8 @@
     bad_count = 0
     outCalendar.properties().update(inCalendar.properties())
     for calendarObject in (yield inCalendar.calendarObjects()):
-
+        if calendarObject.uid() is None:
+            continue
         try:
             # Must account for metadata
             component = (yield calendarObject.component()) # XXX WRONG SHOULD CALL getComponent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120113/4c055cf6/attachment.html>


More information about the calendarserver-changes mailing list