Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed syntax error in [2639]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@2642 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit bb2a38ceccaaf0f2259ebbba6372a483459d77ac 1 parent 3bb3402
Adrian Holovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/utils/httpwrappers.py
2  django/utils/httpwrappers.py
View
@@ -224,7 +224,7 @@ def flush(self):
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):
Please sign in to comment.
Something went wrong with that request. Please try again.