Commit 9b43e3b0 authored by 's avatar

Merged removal of str() coercion in manage_edit as some DAs seem to

store the 'connection string' as a record object.
parent e08a17c7
......@@ -84,8 +84,8 @@
##############################################################################
__doc__='''Generic Database Connection Support
$Id: Connection.py,v 1.29 2000/10/06 15:36:19 brian Exp $'''
__version__='$Revision: 1.29 $'[11:-2]
$Id: Connection.py,v 1.30 2000/11/03 16:24:42 brian Exp $'''
__version__='$Revision: 1.30 $'[11:-2]
import Globals, OFS.SimpleItem, AccessControl.Role, Acquisition, sys
from DateTime import DateTime
......@@ -164,8 +164,8 @@ class Connection(
def manage_edit(self, title, connection_string, check=None, REQUEST=None):
"""Change connection
"""
title=str(title)
connection_string=str(connection_string)
title=title
connection_string=connection_string
self.edit(title, connection_string, check)
if REQUEST is not None:
return MessageDialog(
......
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