diff options
author | Gunnlaugur Þór Briem <gunnlaugur@gmail.com> | 2013-09-06 17:55:19 +0000 |
---|---|---|
committer | Gunnlaugur Þór Briem <gunnlaugur@gmail.com> | 2013-09-06 17:57:04 +0000 |
commit | 610684bb080095dcd8a2ca6cef1ff45787e4bdcf (patch) | |
tree | b73db4a741dde2aee643bbf256f243a15f1e7522 /lib/sqlalchemy/engine/base.py | |
parent | e8167548429b9d4937caaa09740ffe9bdab1ef61 (diff) | |
download | sqlalchemy-pr/25.tar.gz |
Hide password in URL and Engine __repr__pr/25
Fixes #2821
Diffstat (limited to 'lib/sqlalchemy/engine/base.py')
-rw-r--r-- | lib/sqlalchemy/engine/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/engine/base.py b/lib/sqlalchemy/engine/base.py index 9a10e829e..ca99250ac 100644 --- a/lib/sqlalchemy/engine/base.py +++ b/lib/sqlalchemy/engine/base.py @@ -1428,7 +1428,7 @@ class Engine(Connectable, log.Identified): echo = log.echo_property() def __repr__(self): - return 'Engine(%s)' % str(self.url) + return 'Engine(%r)' % self.url def dispose(self): """Dispose of the connection pool used by this :class:`.Engine`. |