summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: