Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit 0c84766c58c0f153c0defc6d0c3a5a56dc2a271e 1 parent b102bf2
Malcolm Tredinnick authored March 16, 2008

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/db/models/query.py
2  django/db/models/query.py
@@ -41,7 +41,7 @@ def __len__(self):
41 41
             else:
42 42
                 self._result_cache = list(self.iterator())
43 43
         elif self._iter:
44  
-            self.result_cache.extend(list(self._iter))
  44
+            self._result_cache.extend(list(self._iter))
45 45
         return len(self._result_cache)
46 46
 
47 47
     def __iter__(self):

0 notes on commit 0c84766

Please sign in to comment.
Something went wrong with that request. Please try again.