[CalendarServer-changes] [6005] CalendarServer/branches/users/glyph/sql-store/txdav/datastore/ subpostgres.py
source_changes at macosforge.org
source_changes at macosforge.org
Fri Aug 6 15:42:58 PDT 2010
Revision: 6005
http://trac.macosforge.org/projects/calendarserver/changeset/6005
Author: glyph at apple.com
Date: 2010-08-06 15:42:58 -0700 (Fri, 06 Aug 2010)
Log Message:
-----------
forward 'description' property so clients can examine the cursor's output
Modified Paths:
--------------
CalendarServer/branches/users/glyph/sql-store/txdav/datastore/subpostgres.py
Modified: CalendarServer/branches/users/glyph/sql-store/txdav/datastore/subpostgres.py
===================================================================
--- CalendarServer/branches/users/glyph/sql-store/txdav/datastore/subpostgres.py 2010-08-06 22:42:34 UTC (rev 6004)
+++ CalendarServer/branches/users/glyph/sql-store/txdav/datastore/subpostgres.py 2010-08-06 22:42:58 UTC (rev 6005)
@@ -56,6 +56,11 @@
return self.realCursor.rowcount
+ @property
+ def description(self):
+ return self.realCursor.description
+
+
def execute(self, sql, args=()):
self.connectionWrapper.state = 'executing %r' % (sql,)
self.realCursor.execute(sql, args)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100806/77d31081/attachment.html>
More information about the calendarserver-changes
mailing list