Commit 226150bf authored by Stefan H. Holek's avatar Stefan H. Holek

Remove quota argument from DemoStorage calls in preparation for ZODB 3.9.

parent 76f9dc1d
......@@ -8,6 +8,9 @@ Zope Changes
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
......
......@@ -229,9 +229,7 @@ from ZODB.DemoStorage import DemoStorage
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))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment