mercurial/httpconnection.py
changeset 14430 c864f5e743ef
parent 14375 436e5379d7ba
child 15005 4a43e23b8c55
--- 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: