]> 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:15:19 +0000 (10:15 -0400)
commit9611ba3a9d7cb134869d3b17949a33647bd56045
tree49708e5620e7dae0b02984ee58ab4f058dc7fe5b
parent8ecad78ba3473d97df8ed4f20f28ddf966ce0277
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
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/dialects/oracle/cx_oracle.py