zzzeek / sqla_issue_test

1 stars 0 forks source link

Oracle url doesn't work -- dsn not translated correctly #197

Closed zzzeek closed 6 years ago

zzzeek commented 18 years ago

Originally reported by: Anonymous


--- oracle_old.py   2006-06-01 15:02:22.331612200 -0500
+++ oracle.py   2006-06-01 15:02:46.863490200 -0500
@@ -123,7 +123,7 @@
         return self.module

     def create_connect_args(self, url):
-        opts = url.translate_connect_args(['dsn', 'user', 'password'](None,))
+        opts = url.translate_connect_args([None, 'user', 'password']('dsn',))
         opts['threaded']('threaded') = self.threaded
         return ([], opts)

zzzeek commented 18 years ago

Original comment by Michael Bayer (Bitbucket: zzzeek, GitHub: zzzeek):


thank you, fixed and tested this time in changeset:1567