[CalendarServer-changes] [7766] CalendarServer/branches/users/glyph/xattrs-from-files/txdav/common/ datastore/file.py

source_changes at macosforge.org source_changes at macosforge.org
Mon Jul 11 15:03:04 PDT 2011


Revision: 7766
          http://trac.macosforge.org/projects/calendarserver/changeset/7766
Author:   glyph at apple.com
Date:     2011-07-11 15:03:04 -0700 (Mon, 11 Jul 2011)
Log Message:
-----------
parameterize property store

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/xattrs-from-files/txdav/common/datastore/file.py

Modified: CalendarServer/branches/users/glyph/xattrs-from-files/txdav/common/datastore/file.py
===================================================================
--- CalendarServer/branches/users/glyph/xattrs-from-files/txdav/common/datastore/file.py	2011-07-11 22:02:53 UTC (rev 7765)
+++ CalendarServer/branches/users/glyph/xattrs-from-files/txdav/common/datastore/file.py	2011-07-11 22:03:04 UTC (rev 7766)
@@ -89,7 +89,8 @@
     implements(ICalendarStore)
 
     def __init__(self, path, notifierFactory, enableCalendars=True,
-                 enableAddressBooks=True, quota=(2 ** 20)):
+                 enableAddressBooks=True, quota=(2 ** 20),
+                 propertyStoreClass=XattrPropertyStore):
         """
         Create a store.
 
@@ -102,7 +103,7 @@
         self.enableAddressBooks = enableAddressBooks
         self._notifierFactory = notifierFactory
         self._transactionClass = CommonStoreTransaction
-        self._propertyStoreClass = XattrPropertyStore
+        self._propertyStoreClass = propertyStoreClass
         self.quota = quota
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110711/65d53a74/attachment.html>


More information about the calendarserver-changes mailing list