[yum-cvs] yum/yum __init__.py,1.177,1.178

Seth Vidal skvidal at linux.duke.edu
Thu Jan 26 04:36:06 UTC 2006


Update of /home/groups/yum/cvs/yum/yum
In directory login1.linux.duke.edu:/tmp/cvs-serv14391/yum

Modified Files:
	__init__.py 
Log Message:

make the repoSetup progress callback not overwrite each other.


Index: __init__.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/__init__.py,v
retrieving revision 1.177
retrieving revision 1.178
diff -u -r1.177 -r1.178
--- __init__.py	17 Jan 2006 07:40:32 -0000	1.177
+++ __init__.py	26 Jan 2006 04:36:04 -0000	1.178
@@ -235,7 +235,9 @@
                 num += 1
                 continue
             if self.repos.callback:
-                self.repos.callback.progressbar(num, len(repos), repo.id)
+                self.repos.callback.log('%-50s [%d/%d]' % 
+                                        (repo.id, num, len(repos)))
+                
             try:
                 repo.cache = self.conf.cache
                 repo.baseurlSetup()
@@ -252,7 +254,8 @@
                 self.errorlog(0, str(e))
                 raise
             num += 1
-
+            
+            
         if self.repos.callback and len(repos) > 0:
             self.repos.callback.progressbar(num, len(repos), repo.id)
             




More information about the Yum-cvs-commits mailing list