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
62c44838
Commit
62c44838
authored
Nov 02, 2001
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
__init__(): Add a docstring.
parent
b4d418aa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
lib/python/BDBStorage/BDBFullStorage.py
lib/python/BDBStorage/BDBFullStorage.py
+6
-1
lib/python/BDBStorage/Full.py
lib/python/BDBStorage/Full.py
+6
-1
No files found.
lib/python/BDBStorage/BDBFullStorage.py
View file @
62c44838
...
...
@@ -4,7 +4,7 @@ See Minimal.py for an implementation of Berkeley storage that does not support
undo or versioning.
"""
__version__
=
'$Revision: 1.3
5
$'
.
split
()[
-
2
:][
0
]
__version__
=
'$Revision: 1.3
6
$'
.
split
()[
-
2
:][
0
]
import
sys
import
struct
...
...
@@ -48,6 +48,11 @@ class Full(BerkeleyBase, ConflictResolvingStorage):
# Overrides of base class methods
#
def
__init__
(
self
,
name
,
env
=
None
,
prefix
=
'zodb_'
):
"""Initialize the Full database.
name, env, and prefix are passed straight through to the BerkeleyBase
base class constructor.
"""
self
.
_packlock
=
ThreadLock
.
allocate_lock
()
BerkeleyBase
.
__init__
(
self
,
name
,
env
,
prefix
)
...
...
lib/python/BDBStorage/Full.py
View file @
62c44838
...
...
@@ -4,7 +4,7 @@ See Minimal.py for an implementation of Berkeley storage that does not support
undo or versioning.
"""
__version__
=
'$Revision: 1.3
5
$'
.
split
()[
-
2
:][
0
]
__version__
=
'$Revision: 1.3
6
$'
.
split
()[
-
2
:][
0
]
import
sys
import
struct
...
...
@@ -48,6 +48,11 @@ class Full(BerkeleyBase, ConflictResolvingStorage):
# Overrides of base class methods
#
def
__init__
(
self
,
name
,
env
=
None
,
prefix
=
'zodb_'
):
"""Initialize the Full database.
name, env, and prefix are passed straight through to the BerkeleyBase
base class constructor.
"""
self
.
_packlock
=
ThreadLock
.
allocate_lock
()
BerkeleyBase
.
__init__
(
self
,
name
,
env
,
prefix
)
...
...
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