diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2006-04-10 00:12:56 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2006-04-10 00:12:56 +0000 |
| commit | bb2a38ceccaaf0f2259ebbba6372a483459d77ac (patch) | |
| tree | 2964a6909883fc8d4ba2a1a82d00a5d87804e436 | |
| parent | 3bb340271ceb5ac398a2386f64f7e903571bc8ac (diff) | |
Fixed syntax error in [2639]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2642 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/utils/httpwrappers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/httpwrappers.py b/django/utils/httpwrappers.py index 15deb7eaea..97710bcd67 100644 --- a/django/utils/httpwrappers.py +++ b/django/utils/httpwrappers.py @@ -224,7 +224,7 @@ class HttpResponse(object): def tell(self): if not self._is_string: raise Exception, "This %s instance cannot tell its position" % self.__class__ - return sum(len(chunk) for chunk in self.iterator) + return sum([len(chunk) for chunk in self.iterator]) class HttpResponseRedirect(HttpResponse): def __init__(self, redirect_to): |
