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
113fa189
Commit
113fa189
authored
Sep 09, 2003
by
Stephane Fermingier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Forgotten namespace.
parent
65accb02
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
lib/python/BDBStorage/BDBFullStorage.py
lib/python/BDBStorage/BDBFullStorage.py
+2
-2
lib/python/BDBStorage/BDBMinimalStorage.py
lib/python/BDBStorage/BDBMinimalStorage.py
+2
-2
No files found.
lib/python/BDBStorage/BDBFullStorage.py
View file @
113fa189
...
...
@@ -14,7 +14,7 @@
"""Berkeley storage with full undo and versioning support.
$Revision: 1.7
1
$
$Revision: 1.7
2
$
"""
import
time
...
...
@@ -245,7 +245,7 @@ class BDBFullStorage(BerkeleyBase, ConflictResolvingStorage):
if
version
is
None
:
self
.
_info
.
put
(
'version'
,
BDBFULL_SCHEMA_VERSION
,
txn
=
txn
)
elif
version
<>
BDBFULL_SCHEMA_VERSION
:
raise
StorageSystemError
,
'incompatible storage version'
raise
POSException
.
StorageSystemError
,
'incompatible storage version'
def
_make_autopacker
(
self
,
event
):
config
=
self
.
_config
...
...
lib/python/BDBStorage/BDBMinimalStorage.py
View file @
113fa189
...
...
@@ -15,7 +15,7 @@
"""Berkeley storage without undo or versioning.
"""
__version__
=
'$Revision: 1.
29
$'
[
-
2
:][
0
]
__version__
=
'$Revision: 1.
30
$'
[
-
2
:][
0
]
from
__future__
import
nested_scopes
...
...
@@ -133,7 +133,7 @@ class BDBMinimalStorage(BerkeleyBase, ConflictResolvingStorage):
if
version
is
None
:
self
.
_info
.
put
(
'version'
,
BDBMINIMAL_SCHEMA_VERSION
,
txn
=
txn
)
elif
version
<>
BDBMINIMAL_SCHEMA_VERSION
:
raise
StorageSystemError
,
'incompatible storage version'
raise
POSException
.
StorageSystemError
,
'incompatible storage version'
def
_make_autopacker
(
self
,
event
):
return
_Autopack
(
self
,
event
,
self
.
_config
.
frequency
)
...
...
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