[CalendarServer-changes] [9045] CalendarServer/branches/users/gaya/ldapdirectorybacker/twistedcaldav /directory/opendirectorybacker.py

source_changes at macosforge.org source_changes at macosforge.org
Thu Apr 12 15:21:46 PDT 2012


Revision: 9045
          http://trac.macosforge.org/projects/calendarserver/changeset/9045
Author:   gaya at apple.com
Date:     2012-04-12 15:21:46 -0700 (Thu, 12 Apr 2012)
Log Message:
-----------
fix log message in dsFilterFromAddressBookFilter()

Modified Paths:
--------------
    CalendarServer/branches/users/gaya/ldapdirectorybacker/twistedcaldav/directory/opendirectorybacker.py

Modified: CalendarServer/branches/users/gaya/ldapdirectorybacker/twistedcaldav/directory/opendirectorybacker.py
===================================================================
--- CalendarServer/branches/users/gaya/ldapdirectorybacker/twistedcaldav/directory/opendirectorybacker.py	2012-04-12 21:56:29 UTC (rev 9044)
+++ CalendarServer/branches/users/gaya/ldapdirectorybacker/twistedcaldav/directory/opendirectorybacker.py	2012-04-12 22:21:46 UTC (rev 9045)
@@ -54,7 +54,8 @@
 from calendarserver.platform.darwin.od import dsattributes, dsquery
 from twisted.python.reflect import namedModule
 
-from twext.python.log import LoggingMixIn
+from twext.python.log import LoggingMixIn, Logger
+log = Logger()
 
 class OpenDirectoryBackingService(DirectoryService):
     """
@@ -784,7 +785,7 @@
                                 try:
                                     recordNameQualifier = matchString[recordNameStart:].decode("base64").decode("utf8")
                                 except Exception, e:
-                                    self.log_debug("Could not decode UID string %r in %r: %r" % (matchString[recordNameStart:], matchString, e,))
+                                    log.debug("Could not decode UID string %r in %r: %r" % (matchString[recordNameStart:], matchString, e,))
                                 else:
                                     if textMatchElement.negate:
                                         return (False, queryAttributes, 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120412/0c0158f6/attachment.html>


More information about the calendarserver-changes mailing list