Server : Apache System : Linux cs317.bluehost.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : andertr9 ( 1047) PHP Version : 8.2.18 Disable Function : NONE Directory : /lib/python2.7/site-packages/yum/ |
Upload File : |
� �v_c @ sU d Z d d l Z d d d � � YZ d e f d � � YZ d e f d � � YZ d S( s/ Classes for handling failovers for server URLs.i����Nt baseFailOverMethodc B sJ e Z d Z d � Z d d � Z d � Z d d � Z d � Z d � Z RS( s_ A base class to provide a failover to switch to a new server if the current one fails. c C s | | _ d | _ d S( Ni ( t repot failures( t selfR ( ( s0 /usr/lib/python2.7/site-packages/yum/failover.pyt __init__ s c C s d S( s� Return a server URL based on this failover method, or None if there is a complete failure. This method should always be used to translate an index into a URL, as this object may change how indexes map. :param i: if given, this is the index of the server URL to return, instead of using the failures counter :return: the next server URL N( t None( R t i( ( s0 /usr/lib/python2.7/site-packages/yum/failover.pyt get_serverurl"