From 4fe170332201ac02d303ec6c404ffa8b5beddbb5 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Tue, 23 Oct 2012 14:22:56 -0400 Subject: tweaks --- lib/sqlalchemy/engine/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sqlalchemy/engine/base.py') diff --git a/lib/sqlalchemy/engine/base.py b/lib/sqlalchemy/engine/base.py index bdb1a0004..eddd446b2 100644 --- a/lib/sqlalchemy/engine/base.py +++ b/lib/sqlalchemy/engine/base.py @@ -1396,7 +1396,7 @@ class Engine(Connectable, log.Identified): current_shard = conn.info.get("current_shard", None) if current_shard != shard_id: - cursor.execute("use %%s" %% shards[shard_id]) + cursor.execute("use %s" % shards[shard_id]) conn.info["current_shard"] = shard_id .. seealso:: -- cgit v1.2.1