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
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
ZEO
Commits
c1f406fb
Commit
c1f406fb
authored
May 24, 1999
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added missing abort method.
parent
c4ca527a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
src/ZODB/Connection.py
src/ZODB/Connection.py
+9
-2
No files found.
src/ZODB/Connection.py
View file @
c1f406fb
...
...
@@ -84,8 +84,8 @@
##############################################################################
"""Database connection support
$Id: Connection.py,v 1.
6 1999/05/18 15:55:09
jim Exp $"""
__version__
=
'$Revision: 1.
6
$'
[
11
:
-
2
]
$Id: Connection.py,v 1.
7 1999/05/24 21:46:21
jim Exp $"""
__version__
=
'$Revision: 1.
7
$'
[
11
:
-
2
]
from
cPickleCache
import
PickleCache
from
POSException
import
ConflictError
,
ExportError
...
...
@@ -220,6 +220,13 @@ class Connection(ExportImport.ExportImport):
return
self
def
abort
(
self
,
object
,
transaction
):
"""Abort the object in the transaction.
This just deactivates the thing.
"""
del
object
.
_p_changed
def
close
(
self
):
self
.
_incrgc
()
self
.
_db
.
_closeConnection
(
self
)
...
...
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