]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Fix TypeError during cx_Oracle connection
authorJohn Vandenberg <jayvdb@gmail.com>
Thu, 5 May 2016 13:26:00 +0000 (09:26 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 16 May 2016 14:16:29 +0000 (10:16 -0400)
commit735a0c04015f97ec03fedbd853af791283ee5517
treea8f762a36c9abf7c8bd01c9c02191bbc3407f7e8
parent06fd549df499c654817f325402c737bb69c74021
Fix TypeError during cx_Oracle connection

cx_Oracle connection parameters user, password and dsn must be
either a string or NULL.  When they are passed a Python None object,
"TypeError: expecting string, unicode or buffer object" is raised.

Fixes: #3705
Change-Id: I8da5d8a227ca12c9bf17a6127460e413841951fb
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/271
(cherry picked from commit a60328473f78d68b65cc376c21aa8f50df867d26)
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/dialects/oracle/cx_oracle.py