Hi all!

   I think we are doing wrong while calculating the format when file-size is
more than 1000 yottabytes (though it sounds crazy .. because no rpm would
ever be of that size .. but for consistency we should do the right thing).

   The patch is attached.


-------------------------------------------------------
Thank you,
Kulbir Saini,
Computer Science and Engineering,
International Institute of Information Technology,
Hyderbad, India - 500032.

My Home-Page: http://saini.co.in/
My Institute: http://www.iiit.ac.in/
My Linux-Blog: http://linux.saini.co.in/
My Web-Blog: http://life.saini.co.in/

IRC nick : generalBordeaux
Channels : #fedora, #fedora-devel, #yum on freenode
-------------------------------------------------------

*** progress_meter.py	2007-12-16 19:24:40.000000000 +0530
--- progress_meter_new.py	2007-12-16 19:25:13.000000000 +0530
***************
*** 161,167 ****
          diff = depth - len(symbols) + 1
          if diff > 0:
              depth = depth - diff
!             number = number * thresh**depth
  
          if type(number) == type(1) or type(number) == type(1L):
              format = '%i%s%s'
--- 161,167 ----
          diff = depth - len(symbols) + 1
          if diff > 0:
              depth = depth - diff
!             number = number * thresh**diff
  
          if type(number) == type(1) or type(number) == type(1L):
              format = '%i%s%s'
_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Reply via email to