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
82175353
Commit
82175353
authored
Apr 04, 2001
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
store(): convert the oserial used in the ConflictError message to a
long to make it more readable.
parent
367176d3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
lib/python/BDBStorage/BDBMinimalStorage.py
lib/python/BDBStorage/BDBMinimalStorage.py
+2
-2
lib/python/BDBStorage/Minimal.py
lib/python/BDBStorage/Minimal.py
+2
-2
No files found.
lib/python/BDBStorage/BDBMinimalStorage.py
View file @
82175353
...
...
@@ -4,7 +4,7 @@ See Full.py for an implementation of Berkeley storage that does support undo
and versioning.
"""
# $Revision: 1.
6
$
# $Revision: 1.
7
$
__version__
=
'0.1'
# This uses the Dunn/Kuchling PyBSDDB v3 extension module available from
...
...
@@ -183,7 +183,7 @@ class Minimal(BerkeleyBase):
# number. Raise a ConflictError.
raise
POSException
.
ConflictError
(
'serial number mismatch (was: %s, has: %s)'
%
(
oserial
,
utils
.
U64
(
serial
)))
(
utils
.
U64
(
oserial
)
,
utils
.
U64
(
serial
)))
# Our serial number is updated in BaseStorage's tpc_begin() call,
# which sets the serial number to the current timestamp.
serial
=
self
.
_serial
...
...
lib/python/BDBStorage/Minimal.py
View file @
82175353
...
...
@@ -4,7 +4,7 @@ See Full.py for an implementation of Berkeley storage that does support undo
and versioning.
"""
# $Revision: 1.
6
$
# $Revision: 1.
7
$
__version__
=
'0.1'
# This uses the Dunn/Kuchling PyBSDDB v3 extension module available from
...
...
@@ -183,7 +183,7 @@ class Minimal(BerkeleyBase):
# number. Raise a ConflictError.
raise
POSException
.
ConflictError
(
'serial number mismatch (was: %s, has: %s)'
%
(
oserial
,
utils
.
U64
(
serial
)))
(
utils
.
U64
(
oserial
)
,
utils
.
U64
(
serial
)))
# Our serial number is updated in BaseStorage's tpc_begin() call,
# which sets the serial number to the current timestamp.
serial
=
self
.
_serial
...
...
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