Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
298aefa1
Commit
298aefa1
authored
Sep 24, 2008
by
Andreas Zeidler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Forward-port r91439.
parent
e074bb4e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
src/ZODB/blob.py
src/ZODB/blob.py
+3
-0
src/ZODB/tests/testblob.py
src/ZODB/tests/testblob.py
+4
-0
No files found.
src/ZODB/blob.py
View file @
298aefa1
...
...
@@ -120,6 +120,9 @@ class Blob(persistent.Persistent):
if
self
.
writers
:
raise
BlobError
(
"Already opened for writing."
)
if
self
.
readers
is
None
:
self
.
readers
=
[]
if
mode
==
'r'
:
if
self
.
_current_filename
()
is
None
:
self
.
_create_uncommitted_file
()
...
...
src/ZODB/tests/testblob.py
View file @
298aefa1
...
...
@@ -141,6 +141,10 @@ class BlobCloneTests(BlobTests):
clone
=
u
.
load
()
clone
.
_p_invalidate
()
# it should also be possible to open the cloned blob
# (even though it won't contain the original data)
clone
.
open
()
class
BlobUndoTests
(
BlobTests
):
...
...
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