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
25827862
Commit
25827862
authored
Sep 03, 2002
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
__init__(): Pass config on through to the BerkeleyBase constructor.
parent
f503daf9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
lib/python/BDBStorage/BDBFullStorage.py
lib/python/BDBStorage/BDBFullStorage.py
+3
-3
lib/python/BDBStorage/Full.py
lib/python/BDBStorage/Full.py
+3
-3
No files found.
lib/python/BDBStorage/BDBFullStorage.py
View file @
25827862
...
...
@@ -18,7 +18,7 @@ See Minimal.py for an implementation of Berkeley storage that does not support
undo or versioning.
"""
__version__
=
'$Revision: 1.4
3
$'
.
split
()[
-
2
:][
0
]
__version__
=
'$Revision: 1.4
4
$'
.
split
()[
-
2
:][
0
]
import
sys
import
struct
...
...
@@ -75,14 +75,14 @@ class Full(BerkeleyBase, ConflictResolvingStorage):
#
# Overrides of base class methods
#
def
__init__
(
self
,
name
,
env
=
None
,
prefix
=
'zodb_'
):
def
__init__
(
self
,
name
,
env
=
None
,
prefix
=
'zodb_'
,
config
=
None
):
"""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
)
BerkeleyBase
.
__init__
(
self
,
name
,
env
,
prefix
,
config
)
def
_setupDBs
(
self
):
# Data Type Assumptions:
...
...
lib/python/BDBStorage/Full.py
View file @
25827862
...
...
@@ -18,7 +18,7 @@ See Minimal.py for an implementation of Berkeley storage that does not support
undo or versioning.
"""
__version__
=
'$Revision: 1.4
3
$'
.
split
()[
-
2
:][
0
]
__version__
=
'$Revision: 1.4
4
$'
.
split
()[
-
2
:][
0
]
import
sys
import
struct
...
...
@@ -75,14 +75,14 @@ class Full(BerkeleyBase, ConflictResolvingStorage):
#
# Overrides of base class methods
#
def
__init__
(
self
,
name
,
env
=
None
,
prefix
=
'zodb_'
):
def
__init__
(
self
,
name
,
env
=
None
,
prefix
=
'zodb_'
,
config
=
None
):
"""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
)
BerkeleyBase
.
__init__
(
self
,
name
,
env
,
prefix
,
config
)
def
_setupDBs
(
self
):
# Data Type Assumptions:
...
...
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