r381 - in branches/rewrite: . src

Otavio Salvador partial-mirror-devel@lists.alioth.debian.org
Thu, 02 Dec 2004 10:15:45 -0700


Author: otavio
Date: Thu Dec  2 10:15:44 2004
New Revision: 381

Modified:
   branches/rewrite/   (props changed)
   branches/rewrite/src/DisplayStatus.py
Log:
 r398@nurf:  otavio | 2004-12-02T17:15:00.228741Z
 Change it to handle when we have more trasfered then the size.


Modified: branches/rewrite/src/DisplayStatus.py
==============================================================================
--- branches/rewrite/src/DisplayStatus.py	(original)
+++ branches/rewrite/src/DisplayStatus.py	Thu Dec  2 10:15:44 2004
@@ -105,7 +105,7 @@
     def update(self, url, current):
         BaseDisplayStatus.update(self, url, current)
         self.__clear_line()
-        if current == self._items[url]['size'] and \
+        if current >= self._items[url]['size'] and \
                not self._items[url]['finished']:
             sys.stdout.write("\rDone: %s\n" % url)
             self._items[url]['finished'] = True