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
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
ZEO
Commits
af762a3b
Commit
af762a3b
authored
Aug 04, 1999
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed the way connections get registered with requests.
parent
86e1830c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/ZODB/ZApplication.py
src/ZODB/ZApplication.py
+2
-2
No files found.
src/ZODB/ZApplication.py
View file @
af762a3b
...
@@ -87,7 +87,7 @@
...
@@ -87,7 +87,7 @@
This module provides a wrapper that causes a database connection to be created
This module provides a wrapper that causes a database connection to be created
and used when bobo publishes a bobo_application object.
and used when bobo publishes a bobo_application object.
"""
"""
__version__
=
'$Revision: 1.
4
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
5
$'
[
11
:
-
2
]
StringType
=
type
(
''
)
StringType
=
type
(
''
)
...
@@ -120,7 +120,7 @@ class ZApplicationWrapper:
...
@@ -120,7 +120,7 @@ class ZApplicationWrapper:
# arrange for the connection to be closed when the request goes away
# arrange for the connection to be closed when the request goes away
cleanup
=
Cleanup
()
cleanup
=
Cleanup
()
cleanup
.
__del__
=
conn
.
close
cleanup
.
__del__
=
conn
.
close
REQUEST
[
Cleanup
]
=
cleanup
REQUEST
.
_hold
(
cleanup
)
v
=
conn
.
root
()[
aname
]
v
=
conn
.
root
()[
aname
]
...
...
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