[CalendarServer-changes] [6960] 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:21 PST 2011
Revision: 6960
http://trac.macosforge.org/projects/calendarserver/changeset/6960
Author: glyph at apple.com
Date: 2011-02-16 06:31:21 -0800 (Wed, 16 Feb 2011)
Log Message:
-----------
formatting
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:31:09 UTC (rev 6959)
+++ CalendarServer/branches/users/glyph/dalify/txdav/common/datastore/sql.py 2011-02-16 14:31:21 UTC (rev 6960)
@@ -935,27 +935,30 @@
_revisionsBindTable = None
_objectTable = None
+
def __init__(self, home, name, resourceID, owned):
- self._home = home
- self._name = name
- self._resourceID = resourceID
- self._owned = owned
- self._created = None
- self._modified = None
- self._objects = {}
- self._objectNames = None
- self._syncTokenRevision = None
if home._notifiers:
childID = "%s/%s" % (home.uid(), name)
- notifiers = [notifier.clone(label="collection", id=childID) for notifier in home._notifiers]
+ notifiers = [notifier.clone(label="collection", id=childID)
+ for notifier in home._notifiers]
else:
notifiers = None
- self._notifiers = notifiers
- self._index = None # Derived classes need to set this
- self._invites = None # Derived classes need to set this
+ self._home = home
+ self._name = name
+ self._resourceID = resourceID
+ self._owned = owned
+ self._created = None
+ self._modified = None
+ self._objects = {}
+ self._objectNames = None
+ self._syncTokenRevision = None
+ self._notifiers = notifiers
+ self._index = None # Derived classes need to set this
+ self._invites = None # Derived classes need to set this
+
@classmethod
@inlineCallbacks
def listObjects(cls, home, owned):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110216/647976d3/attachment.html>
More information about the calendarserver-changes
mailing list