summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-04-25 15:01:59 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-04-25 15:01:59 +0000
commitfcc3648b60c64b8242ddddb84d636e3a6248aee5 (patch)
treeeb4a1a6a89750d719dccefd761541b9577e806fc
parentbb9261197996464edc6398d194ec4e0b00d1c555 (diff)
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
-rw-r--r--django/db/models/sql/where.py2
1 files changed, 1 insertions, 1 deletions
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: