diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-04-25 15:01:59 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-04-25 15:01:59 +0000 |
| commit | fcc3648b60c64b8242ddddb84d636e3a6248aee5 (patch) | |
| tree | eb4a1a6a89750d719dccefd761541b9577e806fc | |
| parent | bb9261197996464edc6398d194ec4e0b00d1c555 (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.py | 2 |
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: |
