Skip to content

Commit fcc3648

Browse files
committed
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
1 parent bb92611 commit fcc3648

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django/db/models/sql/where.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def as_sql(self, node=None, qn=None):
6161
sql, params = self.make_atom(child, qn)
6262
format = '%s'
6363
except EmptyResultSet:
64-
if self.connector == AND and not node.negated:
64+
if node.connector == AND and not node.negated:
6565
# We can bail out early in this particular case (only).
6666
raise
6767
elif node.negated:

0 commit comments

Comments
 (0)