[Zope-Checkins] SVN: Zope/branches/2.11/ Remove quota argument from DemoStorage calls in preparation for ZODB 3.9.
Stefan H. Holek
stefan at epy.co.at
Sat Nov 22 03:59:00 EST 2008
Log message for revision 93257:
Remove quota argument from DemoStorage calls in preparation for ZODB 3.9.
Changed:
U Zope/branches/2.11/doc/CHANGES.txt
U Zope/branches/2.11/lib/python/Testing/ZopeTestCase/ZopeLite.py
-=-
Modified: Zope/branches/2.11/doc/CHANGES.txt
===================================================================
--- Zope/branches/2.11/doc/CHANGES.txt 2008-11-22 08:58:41 UTC (rev 93256)
+++ Zope/branches/2.11/doc/CHANGES.txt 2008-11-22 08:58:59 UTC (rev 93257)
@@ -8,6 +8,9 @@
Bugs Fixed
+ - Testing.ZopeTestCase: Remove quota argument from DemoStorage calls in
+ preparation for ZODB 3.9.
+
Zope 2.11.2 (2008/10/24)
Bugs Fixed
Modified: Zope/branches/2.11/lib/python/Testing/ZopeTestCase/ZopeLite.py
===================================================================
--- Zope/branches/2.11/lib/python/Testing/ZopeTestCase/ZopeLite.py 2008-11-22 08:58:41 UTC (rev 93256)
+++ Zope/branches/2.11/lib/python/Testing/ZopeTestCase/ZopeLite.py 2008-11-22 08:58:59 UTC (rev 93257)
@@ -229,9 +229,7 @@
def sandbox(base=None):
'''Returns a sandbox copy of the base ZODB.'''
if base is None: base = Zope2.DB
- base_storage = base._storage
- quota = getattr(base_storage, '_quota', None)
- storage = DemoStorage(base=base_storage, quota=quota)
+ storage = DemoStorage(base=base._storage)
return ZODB.DB(storage)
_write(' done (%.3fs)\n' % (time.time() - _start))
More information about the Zope-Checkins
mailing list