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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
682cd342
Commit
682cd342
authored
Jul 01, 1999
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a type that caused a NameError in the open() method if it was used
during an active transaction.
parent
f308bd8d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/ZODB/DB.py
src/ZODB/DB.py
+3
-3
No files found.
src/ZODB/DB.py
View file @
682cd342
...
@@ -84,8 +84,8 @@
...
@@ -84,8 +84,8 @@
##############################################################################
##############################################################################
"""Database objects
"""Database objects
$Id: DB.py,v 1.
8 1999/06/29 18:27:55 jim
Exp $"""
$Id: DB.py,v 1.
9 1999/07/01 13:26:37 brian
Exp $"""
__version__
=
'$Revision: 1.
8
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
9
$'
[
11
:
-
2
]
import
cPickle
,
cStringIO
,
sys
,
POSException
import
cPickle
,
cStringIO
,
sys
,
POSException
from
Connection
import
Connection
from
Connection
import
Connection
...
@@ -362,7 +362,7 @@ class DB:
...
@@ -362,7 +362,7 @@ class DB:
if
transaction
is
not
None
:
if
transaction
is
not
None
:
connections
=
transaction
.
_connections
connections
=
transaction
.
_connections
if
connections
:
if
connections
:
if
connection
.
has_key
(
version
)
and
not
temporary
:
if
connection
s
.
has_key
(
version
)
and
not
temporary
:
return
connections
[
version
]
return
connections
[
version
]
else
:
else
:
transaction
.
_connections
=
connections
=
{}
transaction
.
_connections
=
connections
=
{}
...
...
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