[CalendarServer-changes] [1514] CalendarServer/trunk/twistedcaldav/method/report_common.py

source_changes at macosforge.org source_changes at macosforge.org
Mon May 7 16:10:18 PDT 2007


Revision: 1514
          http://trac.macosforge.org/projects/calendarserver/changeset/1514
Author:   wsanchez at apple.com
Date:     2007-05-07 16:10:18 -0700 (Mon, 07 May 2007)

Log Message:
-----------
Don't complain about properties that aren't found.

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/method/report_common.py

Modified: CalendarServer/trunk/twistedcaldav/method/report_common.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/method/report_common.py	2007-05-07 22:47:27 UTC (rev 1513)
+++ CalendarServer/trunk/twistedcaldav/method/report_common.py	2007-05-07 23:10:18 UTC (rev 1514)
@@ -251,9 +251,9 @@
             except HTTPError:
                 f = Failure()
     
-                log.err("Error reading property %r for resource %s: %s" % (qname, request.uri, f.value))
-    
                 status = statusForFailure(f, "getting property: %s" % (qname,))
+                if status != responsecode.NOT_FOUND:
+                    log.err("Error reading property %r for resource %s: %s" % (qname, request.uri, f.value))
                 if status not in properties_by_status: properties_by_status[status] = []
                 properties_by_status[status].append(propertyName(qname))
         else:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20070507/3bf79754/attachment.html


More information about the calendarserver-changes mailing list