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
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
Nicolas Wavrant
ZODB
Commits
4c802a93
Commit
4c802a93
authored
Apr 15, 2004
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the warnings text match.
parent
2890e629
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/ZODB/Connection.py
src/ZODB/Connection.py
+3
-2
No files found.
src/ZODB/Connection.py
View file @
4c802a93
...
...
@@ -13,7 +13,7 @@
##############################################################################
"""Database connection support
$Id: Connection.py,v 1.14
7 2004/04/14 20:45:37
jeremy Exp $"""
$Id: Connection.py,v 1.14
8 2004/04/15 16:22:38
jeremy Exp $"""
import
logging
import
sys
...
...
@@ -243,7 +243,8 @@ class Connection(ExportImport, object):
method. You can pass a transaction manager (TM) to DB.open()
to control which TM the Connection uses.
"""
warnings
.
warn
(
"getTransaction() is deprecated."
,
warnings
.
warn
(
"getTransaction() is deprecated. "
"Use the txn_mgr argument to DB.open() instead."
,
DeprecationWarning
)
return
self
.
_txn_mgr
.
get
()
...
...
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