[yum-cvs] yum shell.py,1.21,1.22

Seth Vidal skvidal at login.linux.duke.edu
Mon Aug 8 14:57:07 UTC 2005


Update of /home/groups/yum/cvs/yum
In directory login:/tmp/cvs-serv31536

Modified Files:
	shell.py 
Log Message:

return consistent results from findRepos


Index: shell.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/shell.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- shell.py	5 Aug 2005 05:41:07 -0000	1.21
+++ shell.py	8 Aug 2005 14:57:05 -0000	1.22
@@ -231,9 +231,9 @@
                     self.base.errorlog(0, e)
                     
                 else:
-                    for repoid in changed:
+                    for repo in changed:
                         try:
-                            self.base.doRepoSetup(thisrepo=repoid)
+                            self.base.doRepoSetup(thisrepo=repo)
                         except Errors.RepoError, e:
                             self.base.errorlog(0, 'Disabling Repository')
                             self.base.repos.disableRepo(repo)




More information about the Yum-cvs-commits mailing list