Commit ff7f2505 authored by Alex Gaynor's avatar Alex Gaynor
Browse files

[1.2.X] Fixed the world's ugliest syntax (that's not an actual error) that...

[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
parent 0f7f6a8a
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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: