[CalendarServer-changes] [7774] CalendarServer/trunk/txdav/base/propertystore/appledouble_xattr.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon Jul 11 17:42:42 PDT 2011
Revision: 7774
http://trac.macosforge.org/projects/calendarserver/changeset/7774
Author: glyph at apple.com
Date: 2011-07-11 17:42:42 -0700 (Mon, 11 Jul 2011)
Log Message:
-----------
be kinder to debug log, quote binary gzipped stuff before dumping it in there
Modified Paths:
--------------
CalendarServer/trunk/txdav/base/propertystore/appledouble_xattr.py
Modified: CalendarServer/trunk/txdav/base/propertystore/appledouble_xattr.py
===================================================================
--- CalendarServer/trunk/txdav/base/propertystore/appledouble_xattr.py 2011-07-12 00:40:30 UTC (rev 7773)
+++ CalendarServer/trunk/txdav/base/propertystore/appledouble_xattr.py 2011-07-12 00:42:42 UTC (rev 7774)
@@ -151,8 +151,8 @@
(xattr_length,))
debugFile.write(' Flags: 0x%02X\n' %
(xattr_flags,))
- debugFile.write(' Name: %s\n' % (xattr_name,))
- debugFile.write(' Value: %s\n' %
+ debugFile.write(' Name: %r\n' % (xattr_name,))
+ debugFile.write(' Value: %r\n' %
(xattr_value,))
attrs[xattr_name] = xattr_value
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110711/607da023/attachment-0001.html>
More information about the calendarserver-changes
mailing list