[CalendarServer-changes] [10871] CalendarServer/branches/users/gaya/sharedgroups/txdav/common/ datastore/sql.py
source_changes at macosforge.org
source_changes at macosforge.org
Thu Mar 7 16:37:17 PST 2013
Revision: 10871
http://trac.calendarserver.org//changeset/10871
Author: gaya at apple.com
Date: 2013-03-07 16:37:16 -0800 (Thu, 07 Mar 2013)
Log Message:
-----------
clean white space
Modified Paths:
--------------
CalendarServer/branches/users/gaya/sharedgroups/txdav/common/datastore/sql.py
Modified: CalendarServer/branches/users/gaya/sharedgroups/txdav/common/datastore/sql.py
===================================================================
--- CalendarServer/branches/users/gaya/sharedgroups/txdav/common/datastore/sql.py 2013-03-08 00:32:09 UTC (rev 10870)
+++ CalendarServer/branches/users/gaya/sharedgroups/txdav/common/datastore/sql.py 2013-03-08 00:37:16 UTC (rev 10871)
@@ -2867,6 +2867,7 @@
"_modified",
)
+
class CommonHomeChild(LoggingMixIn, FancyEqMixin, _SharedSyncLogic, HomeChildBase, SharingMixIn):
"""
Common ancestor class of AddressBooks and Calendars.
@@ -4085,6 +4086,7 @@
@param props: the L{PropertyStore} from C{properties()}.
"""
+
def __repr__(self):
return "<%s: %s>" % (self.__class__.__name__, self._resourceID)
@@ -4093,10 +4095,12 @@
def _txn(self):
return self._parentCollection._txn
+
@property
def _home(self):
return self._parentCollection._home
+
def transaction(self):
return self._parentCollection._txn
@@ -4288,6 +4292,7 @@
Return=_homeSchema.RESOURCE_ID
)
+
@property
def _home(self):
"""
@@ -4868,7 +4873,6 @@
)
-
@inlineCallbacks
def mergeHomes(sqlTxn, one, other, homeType):
"""
@@ -4927,7 +4931,6 @@
yield returnValue(newer)
-
def _renameHome(txn, table, oldUID, newUID):
"""
Rename a calendar, addressbook, or notification home. Note that this
@@ -4954,7 +4957,6 @@
Where=table.OWNER_UID == oldUID).on(txn)
-
def _dontBotherWithNotifications(older, newer, merge):
"""
Notifications are more transient and can be easily worked around; don't
@@ -4962,7 +4964,6 @@
"""
-
@inlineCallbacks
def _normalizeHomeUUIDsIn(t, homeType):
"""
@@ -5045,7 +5046,6 @@
returnValue(None)
-
def _getHome(txn, homeType, uid):
"""
Like L{CommonHome.homeWithUID} but also honoring ENOTIFICATIONTYPE which
@@ -5069,7 +5069,6 @@
return txn.homeWithUID(homeType, uid)
-
@inlineCallbacks
def _normalizeColumnUUIDs(txn, column):
"""
@@ -5103,7 +5102,6 @@
yield Update({column: after}, Where=where).on(txn)
-
class _AndNothing(object):
"""
Simple placeholder for iteratively generating a 'Where' clause; the 'And'
@@ -5117,7 +5115,6 @@
return self
-
@inlineCallbacks
def _needsNormalizationUpgrade(txn):
"""
@@ -5141,7 +5138,6 @@
returnValue(False)
-
@inlineCallbacks
def fixUUIDNormalization(store):
"""
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130307/720bb65e/attachment.html>
More information about the calendarserver-changes
mailing list