diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-03-16 01:20:51 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-03-16 01:20:51 +0000 |
| commit | 0c84766c58c0f153c0defc6d0c3a5a56dc2a271e (patch) | |
| tree | 1e54e2b24da3c7801ceca692d2ca6a8b7602966e | |
| parent | b102bf28b96826747f37cadc07a14e81899a0944 (diff) | |
queryset-refactor: Fixed a typo spotted by msaelices. Fixed #6787.
git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@7250 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/db/models/query.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/models/query.py b/django/db/models/query.py index 57e41fc608..710d4a75cc 100644 --- a/django/db/models/query.py +++ b/django/db/models/query.py @@ -41,7 +41,7 @@ class _QuerySet(object): else: self._result_cache = list(self.iterator()) elif self._iter: - self.result_cache.extend(list(self._iter)) + self._result_cache.extend(list(self._iter)) return len(self._result_cache) def __iter__(self): |
