mtre...@bcc190cf-cafb-0310-a4f2-bffc1f526a37  committed 34e6f15

queryset-refactor: Fixed a typo that was shown up by some simplification refactoring.

  • Participants
  • Parent commits d8e189b
  • Branches queryset-refactor

Comments (0)

Files changed (1)

File django/db/models/sql/

                     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).
                 elif node.negated: