# HG changeset patch # User Catherine Devlin # Date 1238611685 14400 # Node ID 0c83ddee3a5c9b02d8f38b0942aebb9f5681d2a5 # Parent af4106fca5d94af5fbc017df473cfb14bac90ebc trail tnsname with slash to attach mode parameter to url login diff -r af4106fca5d9 -r 0c83ddee3a5c sqlpython/sqlpython.py --- a/sqlpython/sqlpython.py Wed Apr 01 14:11:23 2009 -0400 +++ b/sqlpython/sqlpython.py Wed Apr 01 14:48:05 2009 -0400 @@ -112,7 +112,7 @@ if orauser.upper() == 'SYS' and not modeval: print 'Privilege not specified for SYS, assuming SYSOPER' modeval = cx_Oracle.SYSOPER - result = self.url_connect('oracle://%s:%s@%s?mode=%d' % (orauser, orapass, oraserv, modeval)) + result = self.url_connect('oracle://%s:%s@%s/?mode=%d' % (orauser, orapass, oraserv, modeval)) result['dbname'] = oraserv return result