From fcc3648b60c64b8242ddddb84d636e3a6248aee5 Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Fri, 25 Apr 2008 15:01:59 +0000 Subject: [PATCH] queryset-refactor: Fixed a typo that was shown up by some simplification refactoring. git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@7460 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/db/models/sql/where.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/db/models/sql/where.py b/django/db/models/sql/where.py index 3e11fa53c0..c8857a01fe 100644 --- a/django/db/models/sql/where.py +++ b/django/db/models/sql/where.py @@ -61,7 +61,7 @@ class WhereNode(tree.Node): sql, params = self.make_atom(child, qn) format = '%s' except EmptyResultSet: - if self.connector == AND and not node.negated: + if node.connector == AND and not node.negated: # We can bail out early in this particular case (only). raise elif node.negated: