summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/engine/base.py
diff options
context:
space:
mode:
authormike bayer <mike_mp@zzzcomputing.com>2013-09-29 14:03:46 -0700
committermike bayer <mike_mp@zzzcomputing.com>2013-09-29 14:03:46 -0700
commitdda72ddcf06cdbda7205653601910449c1e293f6 (patch)
treedc307113c32efdce9bb97055bc5ae999191829d6 /lib/sqlalchemy/engine/base.py
parent8f4002814907683ac0fb7b34f106a2cb7cfd7b34 (diff)
parent610684bb080095dcd8a2ca6cef1ff45787e4bdcf (diff)
downloadsqlalchemy-dda72ddcf06cdbda7205653601910449c1e293f6.tar.gz
Merge pull request #25 from gthb/ticket_2821
Hide password in URL and Engine __repr__
Diffstat (limited to 'lib/sqlalchemy/engine/base.py')
-rw-r--r--lib/sqlalchemy/engine/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/engine/base.py b/lib/sqlalchemy/engine/base.py
index 93539cb14..6110992bb 100644
--- a/lib/sqlalchemy/engine/base.py
+++ b/lib/sqlalchemy/engine/base.py
@@ -1417,7 +1417,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`.