kmip/services/kmip_client.py
def _build_host_list(self, host_list_str):
        '''
        This internal function takes the host string from the config file
        and turns it into a list
        :return: LIST host list
        '''

        host_list = []
        if isinstance(host_list_str, str):
            host_list = host_list_str.replace(' ', '').split(',')
        else:
            raise TypeError("Unrecognized variable type provided for host "
                            "list string. 'String' type expected but '" +
                            str(type(host_list_str)) + "' received")
        return host_list
def _build_host_list(self, host_list_str):
        '''
        This internal function takes the host string from the config file
        and turns it into a list
        :return: LIST host list
        '''

        host_list = []
        if isinstance(host_list_str, str):
            host_list = host_list_str.replace(' ', '').split(',')
        else:
            raise TypeError("Unrecognized variable type provided for host "
                            "list string. 'String' type expected but '" +
                            str(type(host_list_str)) + "' received")
        return host_list
def _build_host_list ( self , host_list_str ) : host_list = [ ] if isinstance ( host_list_str , str ) : host_list = host_list_str . replace ( ' ' , '' ) . split ( ',' ) else : raise TypeError ( "Unrecognized variable type provided for host " "list string. 'String' type expected but '" + str ( type ( host_list_str ) ) + "' received" ) return host_list
This internal function takes the host string from the config file
        and turns it into a list
        :return: LIST host list
This internal function takes the host string from the config file and turns it into a list : return : LIST host list