]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Better hide engine password
authorValery Yundin <yuvalery@gmail.com>
Fri, 16 Dec 2016 14:22:08 +0000 (09:22 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 16 Jan 2017 19:02:26 +0000 (14:02 -0500)
commitbccc1419a67c06636b5d5a8d5c00612b7d843edd
treec152ebc97afc1dc0cd1f018fdf794e370d814edc
parent710ce4aaf9130cce0ad17cc471be57038dd641aa
Better hide engine password

Avoid putting engine password in the exception message in
`MetaData.reflect` (since exception messages often appear in logs).
Use the same redacted `__repr__` implementation in
`TLEngine` as in its base class `Engine`

Change-Id: Ic0a7baea917a9c8d87dffdd82ef566673ab08e02
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/327
doc/build/changelog/changelog_11.rst
lib/sqlalchemy/engine/threadlocal.py
lib/sqlalchemy/sql/schema.py
test/engine/test_reflection.py