Commits

adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37  committed e35e631

Fixed syntax error in [2639]

  • Participants
  • Parent commits 3d588a1

Comments (0)

Files changed (1)

File django/utils/httpwrappers.py

     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):