Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZODB
Commits
69c18075
Commit
69c18075
authored
Jan 16, 2013
by
JeanMichel FRANCOIS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve logging when blob is not found: include the filename requested
which doesn't exists
parent
2ad61dba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
CHANGES.rst
CHANGES.rst
+6
-0
src/ZODB/blob.py
src/ZODB/blob.py
+1
-1
No files found.
CHANGES.rst
View file @
69c18075
...
...
@@ -2,6 +2,12 @@
Change
History
================
4.0.0
.
dev
(
unreleased
)
======================
-
improve
logging
when
blob
is
not
found
:
include
the
filename
requested
which
doesn
't exists
4.0.0a4 (2012-12-17)
=====================
...
...
src/ZODB/blob.py
View file @
69c18075
...
...
@@ -642,7 +642,7 @@ class BlobStorageMixin(object):
"""
filename
=
self
.
fshelper
.
getBlobFilename
(
oid
,
serial
)
if
not
os
.
path
.
exists
(
filename
):
raise
POSKeyError
(
"No blob file
"
,
oid
,
serial
)
raise
POSKeyError
(
"No blob file
at %s"
%
filename
,
oid
,
serial
)
return
filename
def
openCommittedBlobFile
(
self
,
oid
,
serial
,
blob
=
None
):
...
...
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