Changeset 2788 for pykota/trunk

Show
Ignore:
Timestamp:
03/06/06 08:49:15 (19 years ago)
Author:
jerome
Message:

Improved statistics output

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/tool.py

    r2783 r2788  
    113113        after = time.time() 
    114114        if self.size : 
    115             speed = int(self.size / (after - self.before)) 
    116             self.display("\r100.00%%\r        \r%s. %s : %i %s.\n" \ 
     115            speed = self.size / (after - self.before) 
     116            self.display("\r100.00%%\r        \r%s. %s : %.2f %s.\n" \ 
    117117                     % (_("Done"), _("Average speed"), speed, _("entries per second"))) 
    118118        else :