summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/engine/base.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-10-23 16:02:00 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2012-10-23 16:02:00 -0400
commitd3aab7885ab79cc2ae881710f216964c9ee6bcda (patch)
tree94a87d3151491634e8eb6444d01c9efdf546967d /lib/sqlalchemy/engine/base.py
parent4fe170332201ac02d303ec6c404ffa8b5beddbb5 (diff)
downloadsqlalchemy-d3aab7885ab79cc2ae881710f216964c9ee6bcda.tar.gz
aaaarrrgg
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 eddd446b2..db7bcaaf1 100644
--- a/lib/sqlalchemy/engine/base.py
+++ b/lib/sqlalchemy/engine/base.py
@@ -1388,7 +1388,7 @@ class Engine(Connectable, log.Identified):
from sqlalchemy import event
from sqlalchemy.engine import Engine
- shards = {"default": "base", shard_1": "db1", "shard_2": "db2"}
+ shards = {"default": "base", shard_1: "db1", "shard_2": "db2"}
@event.listens_for(Engine, "before_cursor_execute")
def _switch_shard(conn, cursor, stmt, params, context, executemany):