1
0
mirror of https://github.com/django/django.git synced 2025-07-05 18:29:11 +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:
Malcolm Tredinnick 2008-04-25 15:01:59 +00:00
parent bb92611979
commit fcc3648b60

View File

@ -61,7 +61,7 @@ class WhereNode(tree.Node):
sql, params = self.make_atom(child, qn) sql, params = self.make_atom(child, qn)
format = '%s' format = '%s'
except EmptyResultSet: 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). # We can bail out early in this particular case (only).
raise raise
elif node.negated: elif node.negated: