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
c3ecc294
Commit
c3ecc294
authored
Dec 05, 2008
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed the do-nothing getSizeMethod from BlobStorage.
parent
5c3baaeb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
src/ZODB/blob.py
src/ZODB/blob.py
+1
-8
No files found.
src/ZODB/blob.py
View file @
c3ecc294
...
...
@@ -692,7 +692,7 @@ class BlobStorage(SpecificationDecoratorBase):
oid
,
serial
=
self
.
dirty_oids
.
pop
()
clean
=
self
.
fshelper
.
getBlobFilename
(
oid
,
serial
)
if
os
.
path
.
exists
(
clean
):
remove_committed
(
clean
)
remove_committed
(
clean
)
@
non_overridable
def
loadBlob
(
self
,
oid
,
serial
):
...
...
@@ -782,13 +782,6 @@ class BlobStorage(SpecificationDecoratorBase):
return
result
@
non_overridable
def
getSize
(
self
):
"""Return the size of the database in bytes."""
# XXX The old way of computing is way to resource hungry. We need to
# do some kind of estimation instead.
return
getProxiedObject
(
self
).
getSize
()
@
non_overridable
def
undo
(
self
,
serial_id
,
transaction
):
undo_serial
,
keys
=
getProxiedObject
(
self
).
undo
(
serial_id
,
transaction
)
...
...
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