[CalendarServer-changes] [9533] CalendarServer/branches/users/gaya/inviteclean/txdav/common/ datastore/sql.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon Aug 6 15:50:37 PDT 2012
Revision: 9533
http://trac.macosforge.org/projects/calendarserver/changeset/9533
Author: gaya at apple.com
Date: 2012-08-06 15:50:35 -0700 (Mon, 06 Aug 2012)
Log Message:
-----------
fix updateShare() setting of shareeView._name
Modified Paths:
--------------
CalendarServer/branches/users/gaya/inviteclean/txdav/common/datastore/sql.py
Modified: CalendarServer/branches/users/gaya/inviteclean/txdav/common/datastore/sql.py
===================================================================
--- CalendarServer/branches/users/gaya/inviteclean/txdav/common/datastore/sql.py 2012-08-06 21:57:17 UTC (rev 9532)
+++ CalendarServer/branches/users/gaya/inviteclean/txdav/common/datastore/sql.py 2012-08-06 22:50:35 UTC (rev 9533)
@@ -2162,7 +2162,7 @@
dnprop = (self.properties().get(dn) or
DisplayName.fromString(self.name()))
- updatedName = yield self._updateBindColumnsQuery(columnMap).on(
+ sharedname = yield self._updateBindColumnsQuery(columnMap).on(
self._txn,
resourceID=self._resourceID, homeID=shareeView._home._resourceID
)
@@ -2189,7 +2189,7 @@
if message:
shareeView._bindMessage = columnMap[bind.MESSAGE]
- shareeView._name = updatedName
+ shareeView._name = sharedname[0][0]
returnValue(shareeView._name)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120806/bc351373/attachment.html>
More information about the calendarserver-changes
mailing list