[yum-cvs] yum-utils/plugins/fastestmirror ChangeLog, 1.4, 1.5 fastestmirror.py, 1.6, 1.7

Luke Macken lmacken at linux.duke.edu
Thu Apr 19 06:13:50 UTC 2007


Update of /home/groups/yum/cvs/yum-utils/plugins/fastestmirror
In directory login1.linux.duke.edu:/tmp/cvs-serv1691

Modified Files:
	ChangeLog fastestmirror.py 
Log Message:
* Apr 19 2007 Luke Macken <lmacken at redhat.com> - 0.2.7
- Remove TYPE_{INTERFACE,INTERACTIVE}


Index: ChangeLog
===================================================================
RCS file: /home/groups/yum/cvs/yum-utils/plugins/fastestmirror/ChangeLog,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ChangeLog	23 Oct 2006 19:37:33 -0000	1.4
+++ ChangeLog	19 Apr 2007 06:13:48 -0000	1.5
@@ -1,3 +1,6 @@
+* Apr 19 2007 Luke Macken <lmacken at redhat.com> - 0.2.7
+- Remove TYPE_{INTERFACE,INTERACTIVE}
+
 * Oct 23 2006 Luke Macken <lmacken at redhat.com> - 0.2.6
 - Make the instructions less misleading
 - Support TYPE_INTERFACE for API_VERSION <= 2.3

Index: fastestmirror.py
===================================================================
RCS file: /home/groups/yum/cvs/yum-utils/plugins/fastestmirror/fastestmirror.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- fastestmirror.py	23 Oct 2006 02:11:13 -0000	1.6
+++ fastestmirror.py	19 Apr 2007 06:13:48 -0000	1.7
@@ -1,6 +1,6 @@
 #!/usr/bin/env python
 #
-# Version: 0.2.6
+# Version: 0.2.7
 #
 # A plugin for the Yellowdog Updater Modified which sorts each repo's
 # mirrorlist by connection speed prior to download.
@@ -39,12 +39,10 @@
 import datetime
 import threading
 
-from yum.plugins import TYPE_INTERACTIVE, TYPE_CORE, API_VERSION
-from yum.plugins import TYPE_INTERFACE, PluginYumExit
+from yum.plugins import TYPE_CORE, PluginYumExit
 
 requires_api_version = '2.5'
-plugin_type = (API_VERSION <= 2.3 and TYPE_INTERFACE or TYPE_INTERACTIVE,
-               TYPE_CORE)
+plugin_type = (TYPE_CORE,)
 
 verbose = False
 socket_timeout = 3




More information about the Yum-cvs-commits mailing list