[CalendarServer-changes] [15147] twext/trunk/twext/enterprise/dal/record.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Sep 22 14:05:13 PDT 2015


Revision: 15147
          http://trac.calendarserver.org//changeset/15147
Author:   cdaboo at apple.com
Date:     2015-09-22 14:05:13 -0700 (Tue, 22 Sep 2015)
Log Message:
-----------
Fix logging.

Modified Paths:
--------------
    twext/trunk/twext/enterprise/dal/record.py

Modified: twext/trunk/twext/enterprise/dal/record.py
===================================================================
--- twext/trunk/twext/enterprise/dal/record.py	2015-09-22 18:18:51 UTC (rev 15146)
+++ twext/trunk/twext/enterprise/dal/record.py	2015-09-22 21:05:13 UTC (rev 15147)
@@ -446,8 +446,8 @@
             ).on(self.transaction)
         except:
             log.debug("trylock failed: {item} {where}".format(
-                name=repr(self),
-                where=str(where),
+                item=repr(self),
+                where=str(self._primaryKeyValue()),
             ))
             yield savepoint.rollback(self.transaction)
             returnValue(False)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20150922/20dc1d51/attachment.html>


More information about the calendarserver-changes mailing list