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
nexedi
ZODB
Commits
6d29030f
Commit
6d29030f
authored
Apr 16, 2004
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the warning match the method name.
parent
75eb1c1c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/ZODB/Connection.py
src/ZODB/Connection.py
+2
-2
No files found.
src/ZODB/Connection.py
View file @
6d29030f
...
...
@@ -13,7 +13,7 @@
##############################################################################
"""Database connection support
$Id: Connection.py,v 1.1
49 2004/04/16 01:08:12 tim_one
Exp $"""
$Id: Connection.py,v 1.1
50 2004/04/16 14:19:11 jeremy
Exp $"""
import
logging
import
sys
...
...
@@ -266,7 +266,7 @@ class Connection(ExportImport, object):
can pass a transaction manager (TM) to DB.open() to control
which TM the Connection uses.
"""
warnings
.
warn
(
"
get
Transaction() is deprecated. "
warnings
.
warn
(
"
setLocal
Transaction() is deprecated. "
"Use the txn_mgr argument to DB.open() instead."
,
DeprecationWarning
)
if
self
.
_txn_mgr
is
transaction
.
manager
:
...
...
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