Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
9adbc8bc
Commit
9adbc8bc
authored
Sep 24, 1999
by
Amos Latteier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a small problem to led to a name error on 'invalid'.
parent
69b1bfaf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/ZODB/Connection.py
src/ZODB/Connection.py
+3
-3
No files found.
src/ZODB/Connection.py
View file @
9adbc8bc
...
...
@@ -84,8 +84,8 @@
##############################################################################
"""Database connection support
$Id: Connection.py,v 1.2
5 1999/09/15 16:10:33 jim
Exp $"""
__version__
=
'$Revision: 1.2
5
$'
[
11
:
-
2
]
$Id: Connection.py,v 1.2
6 1999/09/24 21:32:52 amos
Exp $"""
__version__
=
'$Revision: 1.2
6
$'
[
11
:
-
2
]
from
cPickleCache
import
PickleCache
from
POSException
import
ConflictError
,
ExportError
...
...
@@ -236,13 +236,13 @@ class Connection(ExportImport.ExportImport):
def
commit
(
self
,
object
,
transaction
):
oid
=
object
.
_p_oid
invalid
=
self
.
_invalid
if
oid
is
None
or
object
.
_p_jar
is
not
self
:
oid
=
self
.
new_oid
()
object
.
_p_jar
=
self
object
.
_p_oid
=
oid
elif
object
.
_p_changed
:
invalid
=
self
.
_invalid
if
invalid
(
oid
)
or
invalid
(
None
):
raise
ConflictError
,
oid
self
.
_invalidating
.
append
(
oid
)
...
...
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