[CalendarServer-changes] [6959] CalendarServer/branches/users/glyph/dalify/txdav/common/datastore/ sql.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Feb 16 06:31:09 PST 2011
Revision: 6959
http://trac.macosforge.org/projects/calendarserver/changeset/6959
Author: glyph at apple.com
Date: 2011-02-16 06:31:09 -0800 (Wed, 16 Feb 2011)
Log Message:
-----------
oops, column is RESOURCE_ID, not resourceID
Modified Paths:
--------------
CalendarServer/branches/users/glyph/dalify/txdav/common/datastore/sql.py
Modified: CalendarServer/branches/users/glyph/dalify/txdav/common/datastore/sql.py
===================================================================
--- CalendarServer/branches/users/glyph/dalify/txdav/common/datastore/sql.py 2011-02-16 14:30:56 UTC (rev 6958)
+++ CalendarServer/branches/users/glyph/dalify/txdav/common/datastore/sql.py 2011-02-16 14:31:09 UTC (rev 6959)
@@ -857,7 +857,7 @@
def _resetQuotaQuery(cls):
meta = cls._homeMetaDataSchema
return Update({meta.QUOTA_USED_BYTES: 0},
- Where=meta.resourceID == Parameter("resourceID"))
+ Where=meta.RESOURCE_ID == Parameter("resourceID"))
@inlineCallbacks
@@ -888,13 +888,15 @@
if self._notifiers is None:
self._notifiers = ()
self._notifiers += (notifier,)
-
+
+
def notifierID(self, label="default"):
if self._notifiers:
return self._notifiers[0].getID(label)
else:
return None
+
@inlineCallbacks
def nodeName(self, label="default"):
if self._notifiers:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110216/93161b58/attachment.html>
More information about the calendarserver-changes
mailing list