[CalendarServer-changes] [1121] CalendarServer/trunk/twistedcaldav/logging.py

source_changes at macosforge.org source_changes at macosforge.org
Fri Jan 26 13:37:42 PST 2007


Revision: 1121
          http://trac.macosforge.org/projects/calendarserver/changeset/1121
Author:   wsanchez at apple.com
Date:     2007-01-26 13:37:42 -0800 (Fri, 26 Jan 2007)

Log Message:
-----------
Don't need str() for a %s format

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/logging.py

Modified: CalendarServer/trunk/twistedcaldav/logging.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/logging.py	2007-01-26 21:16:31 UTC (rev 1120)
+++ CalendarServer/trunk/twistedcaldav/logging.py	2007-01-26 21:37:42 UTC (rev 1121)
@@ -137,7 +137,7 @@
             if isinstance(request.authnUser.children[0], davxml.HRef):
                 uid = str(request.authnUser.children[0])
                 if hasattr(request, "authzUser") and str(request.authzUser.children[0]) != uid:
-                    uid = '"%s as %s"' % (uid, str(request.authzUser.children[0]),)
+                    uid = '"%s as %s"' % (uid, request.authzUser.children[0])
         
 
         self.logMessage(

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


More information about the calendarserver-changes mailing list