0.50rc1: backtrace at ETA

Mauricio Teixeira (netmask) netmask at webset.net
Tue Nov 14 07:48:19 PST 2006


Em Ter, 2006-11-14 às 11:43 -0200, Andreas Hasenack escreveu:

> xkeyboard-config-0.7-19.7.noarch.rpm                          ####################################################################################### [ 61%]
> Traceback (most recent call last):                            #                                                               (2% Stalled 1885176655h59m57s)

Sorry. My fault. I didn't see this coming, but it's already fixed o SVN
r811.

Index: smart/fetcher.py
===================================================================
--- smart/fetcher.py    (revisão 810)
+++ smart/fetcher.py    (cópia de trabalho)
@@ -538,7 +538,7 @@

     def updateETA(self):
         if self._status is RUNNING:
-            if (self._speed > 0) and (self._total > 0):
+            if (self._speed > 1) and (self._total > 0):
                 self._eta = (self._total - self._current) / self._speed
             else:
                 self._eta = None


-- 
% Mauricio Teixeira (netmask)
% mteixeira{a}webset{d}net <> Maceio/AL/BR
% http://mteixeira.webset.net <> http://pmping.sf.net




More information about the Smart mailing list