Commit 88157f18 authored by Jim Fulton's avatar Jim Fulton

Set connection debugging info to path info.

parent 16ef5dc5
...@@ -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.5 $'[11:-2] __version__='$Revision: 1.6 $'[11:-2]
StringType=type('') StringType=type('')
...@@ -121,6 +121,8 @@ class ZApplicationWrapper: ...@@ -121,6 +121,8 @@ class ZApplicationWrapper:
cleanup=Cleanup() cleanup=Cleanup()
cleanup.__del__=conn.close cleanup.__del__=conn.close
REQUEST._hold(cleanup) REQUEST._hold(cleanup)
conn.setDebugInfo(REQUEST.get('PATH_INFO','(No path info)'))
v=conn.root()[aname] v=conn.root()[aname]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment