[CalendarServer-changes] [6009] CalendarServer/branches/users/wsanchez/deployment/twistedcaldav/ directory/appleopendirectory.py

source_changes at macosforge.org source_changes at macosforge.org
Fri Aug 6 17:13:31 PDT 2010


Revision: 6009
          http://trac.macosforge.org/projects/calendarserver/changeset/6009
Author:   sagen at apple.com
Date:     2010-08-06 17:13:29 -0700 (Fri, 06 Aug 2010)
Log Message:
-----------
Adding invalidRecord()

Modified Paths:
--------------
    CalendarServer/branches/users/wsanchez/deployment/twistedcaldav/directory/appleopendirectory.py

Modified: CalendarServer/branches/users/wsanchez/deployment/twistedcaldav/directory/appleopendirectory.py
===================================================================
--- CalendarServer/branches/users/wsanchez/deployment/twistedcaldav/directory/appleopendirectory.py	2010-08-06 22:46:47 UTC (rev 6008)
+++ CalendarServer/branches/users/wsanchez/deployment/twistedcaldav/directory/appleopendirectory.py	2010-08-07 00:13:29 UTC (rev 6009)
@@ -690,6 +690,13 @@
             else:
                 return ()
 
+        def invalidRecord(recordShortName):
+            self.log_error(
+                "Directory (incorrectly) returned a record with no applicable "
+                "ServicesLocator attribute: (%s) %s"
+                % (recordType, recordShortName)
+            )
+
         def disableRecord(record):
             self.log_warn("Record disabled due to conflict (record name and GUID must match): %s" % (record,))
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100806/be5dbd14/attachment-0001.html>


More information about the calendarserver-changes mailing list