mirror of
https://github.com/django/django.git
synced 2025-07-05 10:19:20 +00:00
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
This commit is contained in:
parent
bb92611979
commit
fcc3648b60
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user