Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
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
Zope
Commits
22fc36df
Commit
22fc36df
authored
Oct 04, 2006
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed exc_info argument
parent
403196ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
lib/python/Shared/DC/ZRDB/Connection.py
lib/python/Shared/DC/ZRDB/Connection.py
+2
-3
No files found.
lib/python/Shared/DC/ZRDB/Connection.py
View file @
22fc36df
...
...
@@ -30,7 +30,6 @@ from string import find, join, split
from
Aqueduct
import
custom_default_report
from
cStringIO
import
StringIO
from
Results
import
Results
from
sys
import
exc_info
from
cgi
import
escape
import
DocumentTemplate
,
RDB
...
...
@@ -72,7 +71,7 @@ class Connection(
try
:
self
.
connect
(
self
.
connection_string
)
except
:
LOG
.
error
(
'Error connecting to relational database.'
,
exc_info
=
exc_info
()
)
exc_info
=
True
)
def
title_and_id
(
self
):
s
=
Connection
.
inheritedAttribute
(
'title_and_id'
)(
self
)
...
...
@@ -160,7 +159,7 @@ class Connection(
self
.
_v_database_connection
.
close
()
except
:
LOG
.
error
(
'Error closing relational database connection.'
,
exc_info
=
exc_info
()
)
exc_info
=
True
)
self
.
_v_connected
=
''
if
REQUEST
is
not
None
:
return
self
.
manage_main
(
self
,
REQUEST
)
...
...
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