diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2010-12-08 18:37:00 +0000 |
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@gmail.com> | 2010-12-08 18:37:00 +0000 |
| commit | a4898dc50b17542f48cc01bad1c4135c7a6424b3 (patch) | |
| tree | aaeb274dd1ea0093180c5505886b21e62f9b24b0 | |
| parent | 2a463231248df5eacaf0d88af45d7bc4f462a88e (diff) | |
Fixed the world's ugliest syntax (that's not an actual error) that snuck in with [14857].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14859 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/db/utils.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/django/db/utils.py b/django/db/utils.py index 4377f3cdbe..e8e508bde8 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: |
