author | Matt Mackall <mpm@selenic.com> |
Tue, 24 May 2011 17:30:00 -0500 | |
changeset 14430 | c864f5e743ef |
parent 14429 | c4c5e3802e9c |
child 14431 | a6b543e05305 |
--- a/mercurial/httpconnection.py Tue May 24 14:52:23 2011 +0200 +++ b/mercurial/httpconnection.py Tue May 24 17:30:00 2011 -0500 @@ -37,7 +37,7 @@ self.write = self._data.write self._len = os.fstat(self._data.fileno()).st_size self._pos = 0 - self._total = len(self) / 1024 * 2 + self._total = self._len / 1024 * 2 def read(self, *args, **kwargs): try: