[Checkins] SVN: gocept.zeoraid/trunk/src/gocept/zeoraid/storage.py
added docstrings, decided not to test sortKey explicitly
Thomas Lotze
tl at gocept.com
Wed Jan 16 10:07:37 EST 2008
Log message for revision 82922:
added docstrings, decided not to test sortKey explicitly
Changed:
U gocept.zeoraid/trunk/src/gocept/zeoraid/storage.py
-=-
Modified: gocept.zeoraid/trunk/src/gocept/zeoraid/storage.py
===================================================================
--- gocept.zeoraid/trunk/src/gocept/zeoraid/storage.py 2008-01-16 15:03:44 UTC (rev 82921)
+++ gocept.zeoraid/trunk/src/gocept/zeoraid/storage.py 2008-01-16 15:07:36 UTC (rev 82922)
@@ -242,6 +242,7 @@
self._apply_all_storages('pack', (t, referencesf))
def registerDB(self, db, limit=None):
+ """Register an IStorageDB."""
# We can safely register all storages here as it will only cause
# invalidations to be sent out multiple times. Transaction
# coordination by the StorageServer and set semantics in ZODB's
@@ -249,8 +250,8 @@
self._db = db
self._apply_all_storages('registerDB', (db,))
- # XXX
def sortKey(self):
+ """Sort key used to order distributed transactions."""
return id(self)
# XXX
More information about the Checkins
mailing list