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
868ca805
Commit
868ca805
authored
Nov 12, 2002
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add note about sortKey() and fix typo.
parent
be274b6c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
lib/python/Shared/DC/ZRDB/TM.py
lib/python/Shared/DC/ZRDB/TM.py
+8
-5
No files found.
lib/python/Shared/DC/ZRDB/TM.py
View file @
868ca805
...
@@ -17,12 +17,15 @@
...
@@ -17,12 +17,15 @@
class
TM
:
class
TM
:
"""Mix-in class that provides transaction management support
"""Mix-in class that provides transaction management support
A sub class should call self._register() whenever it performs
A sub class should call self._register() whenever it performs
any
any
transaction-dependent operations (e.g. sql statements).
transaction-dependent operations (e.g. sql statements).
The sub class will need to override _finish, to finallize work,
The sub class will need to override _finish, to finalize work,
_abort, to roll-back work, and perhaps _begin, if any work is needed
_abort, to roll-back work, and perhaps _begin, if any work is
at the start of a transaction.
needed at the start of a transaction.
A subclass that uses locking during transaction commit must
defined a sortKey() method.
"""
"""
_registered
=
None
_registered
=
None
...
...
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