[CalendarServer-changes] [9819] CalendarServer/trunk/txdav/common/datastore/sql.py
source_changes at macosforge.org
source_changes at macosforge.org
Tue Sep 18 09:57:35 PDT 2012
Revision: 9819
http://trac.calendarserver.org//changeset/9819
Author: cdaboo at apple.com
Date: 2012-09-18 09:57:35 -0700 (Tue, 18 Sep 2012)
Log Message:
-----------
Fix for debug logging.
Modified Paths:
--------------
CalendarServer/trunk/txdav/common/datastore/sql.py
Modified: CalendarServer/trunk/txdav/common/datastore/sql.py
===================================================================
--- CalendarServer/trunk/txdav/common/datastore/sql.py 2012-09-18 16:57:19 UTC (rev 9818)
+++ CalendarServer/trunk/txdav/common/datastore/sql.py 2012-09-18 16:57:35 UTC (rev 9819)
@@ -770,6 +770,7 @@
a = ("-- Label: %s\n" % (self._label.replace("%", "%%"),) + a[0],) + a[1:]
if self._store.logSQL:
log.error("SQL: %r %r" % (a, kw,))
+ results = ()
try:
results = (yield self._sqlTxn.execSQL(*a, **kw))
finally:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120918/69d2f0e6/attachment.html>
More information about the calendarserver-changes
mailing list