Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
2e4e40bb
Commit
2e4e40bb
authored
Nov 22, 2008
by
Stefan H. Holek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove quota argument from DemoStorage calls in preparation for ZODB 3.9.
parent
d1389fe5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
doc/CHANGES.txt
doc/CHANGES.txt
+3
-0
lib/python/Testing/ZopeTestCase/ZopeLite.py
lib/python/Testing/ZopeTestCase/ZopeLite.py
+1
-3
No files found.
doc/CHANGES.txt
View file @
2e4e40bb
...
...
@@ -219,6 +219,9 @@ Zope Changes
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.
...
...
lib/python/Testing/ZopeTestCase/ZopeLite.py
View file @
2e4e40bb
...
...
@@ -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
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment