rpms/yum-utils/devel fastestmirror.patch,1.2,1.3

Tim Lauridsen (timlau) fedora-extras-commits at redhat.com
Mon May 26 08:31:44 UTC 2008


Author: timlau

Update of /cvs/pkgs/rpms/yum-utils/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3326

Modified Files:
	fastestmirror.patch 
Log Message:
minor changes to the fastestmirror.patch to make it build

fastestmirror.patch:

Index: fastestmirror.patch
===================================================================
RCS file: /cvs/pkgs/rpms/yum-utils/devel/fastestmirror.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- fastestmirror.patch	26 May 2008 08:21:40 -0000	1.2
+++ fastestmirror.patch	26 May 2008 08:30:34 -0000	1.3
@@ -1,13 +1,14 @@
 diff --git a/plugins/fastestmirror/fastestmirror.py b/plugins/fastestmirror/fastestmirror.py
-index add870a..dc4df92 100644
+index dc4df92..add870a 100644
 --- a/plugins/fastestmirror/fastestmirror.py
 +++ b/plugins/fastestmirror/fastestmirror.py
 @@ -130,7 +130,7 @@ def postreposetup_hook(conduit):
      """
      global loadcache, exclude
      opts, commands = conduit.getCmdLine()
--    if hasattr(opts, 'cacheonly') and opts.cacheonly:
-+    if opts.cacheonly:
+-    if opts.cacheonly:
++    if hasattr(opts, 'cacheonly') and opts.cacheonly:
          return
      if loadcache:
          conduit.info(2, "Loading mirror speeds from cached hostfile")
+




More information about the scm-commits mailing list