[CalendarServer-changes] [2550] CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py
source_changes at macosforge.org
source_changes at macosforge.org
Fri Jun 6 16:09:42 PDT 2008
Revision: 2550
http://trac.macosforge.org/projects/calendarserver/changeset/2550
Author: wsanchez at apple.com
Date: 2008-06-06 16:09:41 -0700 (Fri, 06 Jun 2008)
Log Message:
-----------
More logging.
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py
Modified: CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py 2008-06-06 19:35:10 UTC (rev 2549)
+++ CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py 2008-06-06 23:09:41 UTC (rev 2550)
@@ -742,6 +742,15 @@
try:
if query:
if isinstance(query, dsquery.match):
+ self.log_debug("opendirectory.queryRecordsWithAttribute_list(%r,%r,%r,%r,%r,%r,%r)" % (
+ self.directory,
+ query.attribute,
+ query.value,
+ query.matchType,
+ False,
+ listRecordType,
+ attrs,
+ ))
results = opendirectory.queryRecordsWithAttribute_list(
self.directory,
query.attribute,
@@ -752,6 +761,13 @@
attrs,
)
else:
+ self.log_debug("opendirectory.queryRecordsWithAttribute_list(%r,%r,%r,%r,%r)" % (
+ self.directory,
+ query.generate(),
+ False,
+ listRecordType,
+ attrs,
+ ))
results = opendirectory.queryRecordsWithAttributes_list(
self.directory,
query.generate(),
@@ -760,6 +776,11 @@
attrs,
)
else:
+ self.log_debug("opendirectory.listAllRecordsWithAttributes_list(%r,%r,%r)" % (
+ self.directory,
+ listRecordType,
+ attrs,
+ ))
results = opendirectory.listAllRecordsWithAttributes_list(
self.directory,
listRecordType,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20080606/8eef7afa/attachment.htm
More information about the calendarserver-changes
mailing list