[Zope-Checkins] SVN: Zope/trunk/ Remove quota argument from DemoStorage calls in preparation for ZODB 3.9.
Stefan H. Holek
stefan at epy.co.at
Sat Nov 22 03:58:42 EST 2008
Log message for revision 93256:
Remove quota argument from DemoStorage calls in preparation for ZODB 3.9.
Changed:
U Zope/trunk/doc/CHANGES.txt
U Zope/trunk/lib/python/Testing/ZopeTestCase/ZopeLite.py
-=-
Modified: Zope/trunk/doc/CHANGES.txt
===================================================================
--- Zope/trunk/doc/CHANGES.txt 2008-11-22 01:39:02 UTC (rev 93255)
+++ Zope/trunk/doc/CHANGES.txt 2008-11-22 08:58:41 UTC (rev 93256)
@@ -219,6 +219,9 @@
Bugs Fixed
+ - Testing.ZopeTestCase: Remove quota argument from DemoStorage calls in
+ preparation for ZODB 3.9.
+
- Ported c69896 to Five. This fix makes it possible to provide a
template using Python, and not have it being set to `None` by
the viewlet manager directive.
Modified: Zope/trunk/lib/python/Testing/ZopeTestCase/ZopeLite.py
===================================================================
--- Zope/trunk/lib/python/Testing/ZopeTestCase/ZopeLite.py 2008-11-22 01:39:02 UTC (rev 93255)
+++ Zope/trunk/lib/python/Testing/ZopeTestCase/ZopeLite.py 2008-11-22 08:58:41 UTC (rev 93256)
@@ -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