Revision
1514
Author
wsanchez@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

Diff

Modified: CalendarServer/trunk/twistedcaldav/method/report_common.py (1513 => 1514)


--- 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: