summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2010-12-08 18:37:24 +0000
committerAlex Gaynor <alex.gaynor@gmail.com>2010-12-08 18:37:24 +0000
commitff7f25052bbc6050857f7401223a9f071f6eff87 (patch)
tree4ce283576dce839c5f72bba6bf1c2d6380e85692
parent0f7f6a8adf012b764343d9ee1771ab026e631a23 (diff)
[1.2.X] Fixed the world's ugliest syntax (that's not an actual error) that snuck in with [14858]. Backport of [14859].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14860 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/db/utils.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/django/db/utils.py b/django/db/utils.py
index ae4377716c..8ae84762c8 100644
--- a/django/db/utils.py
+++ b/django/db/utils.py
@@ -131,8 +131,7 @@ class ConnectionRouter(object):
# If the router doesn't have a method, skip to the next one.
pass
else:
- chosen_db = method(model, **hints
- )
+ chosen_db = method(model, **hints)
if chosen_db:
return chosen_db
try: