Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZODB
Commits
dd3304ef
Commit
dd3304ef
authored
Apr 25, 2005
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Trim trailing whitespace.
parent
14c73271
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
9 deletions
+2
-9
src/transaction/interfaces.py
src/transaction/interfaces.py
+2
-9
No files found.
src/transaction/interfaces.py
View file @
dd3304ef
...
@@ -24,7 +24,6 @@ class ITransactionManager(zope.interface.Interface):
...
@@ -24,7 +24,6 @@ class ITransactionManager(zope.interface.Interface):
Applications use transaction managers to establish transaction boundaries.
Applications use transaction managers to establish transaction boundaries.
"""
"""
def
begin
():
def
begin
():
"""Begin a new transaction.
"""Begin a new transaction.
...
@@ -53,13 +52,11 @@ class ITransactionManager(zope.interface.Interface):
...
@@ -53,13 +52,11 @@ class ITransactionManager(zope.interface.Interface):
An ISavepoint object is returned.
An ISavepoint object is returned.
"""
"""
def
registerSynch
(
synch
):
def
registerSynch
(
synch
):
"""Register an ISynchronizer.
"""Register an ISynchronizer.
Synchronizers are notified at the beginning and end of
Synchronizers are notified at the beginning and end of
transaction completion.
transaction completion.
"""
"""
def
unregisterSynch
(
synch
):
def
unregisterSynch
(
synch
):
...
@@ -67,7 +64,6 @@ class ITransactionManager(zope.interface.Interface):
...
@@ -67,7 +64,6 @@ class ITransactionManager(zope.interface.Interface):
Synchronizers are notified at the beginning and end of
Synchronizers are notified at the beginning and end of
transaction completion.
transaction completion.
"""
"""
class
ITransaction
(
zope
.
interface
.
Interface
):
class
ITransaction
(
zope
.
interface
.
Interface
):
...
@@ -139,7 +135,6 @@ class ITransaction(zope.interface.Interface):
...
@@ -139,7 +135,6 @@ class ITransaction(zope.interface.Interface):
The datamanager must implement the
The datamanager must implement the
transactions.interfaces.IDataManager interface, and be
transactions.interfaces.IDataManager interface, and be
adaptable to ZODB.interfaces.IDataManager.
adaptable to ZODB.interfaces.IDataManager.
"""
"""
def
note
(
text
):
def
note
(
text
):
...
@@ -332,7 +327,6 @@ class IDataManagerSavepoint(zope.interface.Interface):
...
@@ -332,7 +327,6 @@ class IDataManagerSavepoint(zope.interface.Interface):
after transaction termination. Preventing invalid savepoint
after transaction termination. Preventing invalid savepoint
rollback is the responsibility of transaction rollbacks.
rollback is the responsibility of transaction rollbacks.
Application code should never use data-manager savepoints.
Application code should never use data-manager savepoints.
"""
"""
def
rollback
():
def
rollback
():
...
@@ -375,4 +369,3 @@ class ISynchronizer(zope.interface.Interface):
...
@@ -375,4 +369,3 @@ class ISynchronizer(zope.interface.Interface):
def
afterCompletion
(
transaction
):
def
afterCompletion
(
transaction
):
"""Hook that is called by the transaction after completing a commit.
"""Hook that is called by the transaction after completing a commit.
"""
"""
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